/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class AWS_SSM_API LabelParameterVersionResult { public: LabelParameterVersionResult(); LabelParameterVersionResult(const Aws::AmazonWebServiceResult& result); LabelParameterVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline const Aws::Vector& GetInvalidLabels() const{ return m_invalidLabels; } /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline void SetInvalidLabels(const Aws::Vector& value) { m_invalidLabels = value; } /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline void SetInvalidLabels(Aws::Vector&& value) { m_invalidLabels = std::move(value); } /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline LabelParameterVersionResult& WithInvalidLabels(const Aws::Vector& value) { SetInvalidLabels(value); return *this;} /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline LabelParameterVersionResult& WithInvalidLabels(Aws::Vector&& value) { SetInvalidLabels(std::move(value)); return *this;} /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline LabelParameterVersionResult& AddInvalidLabels(const Aws::String& value) { m_invalidLabels.push_back(value); return *this; } /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline LabelParameterVersionResult& AddInvalidLabels(Aws::String&& value) { m_invalidLabels.push_back(std::move(value)); return *this; } /** *

The label does not meet the requirements. For information about parameter * label requirements, see Labeling * parameters in the AWS Systems Manager User Guide.

*/ inline LabelParameterVersionResult& AddInvalidLabels(const char* value) { m_invalidLabels.push_back(value); return *this; } /** *

The version of the parameter that has been labeled.

*/ inline long long GetParameterVersion() const{ return m_parameterVersion; } /** *

The version of the parameter that has been labeled.

*/ inline void SetParameterVersion(long long value) { m_parameterVersion = value; } /** *

The version of the parameter that has been labeled.

*/ inline LabelParameterVersionResult& WithParameterVersion(long long value) { SetParameterVersion(value); return *this;} private: Aws::Vector m_invalidLabels; long long m_parameterVersion; }; } // namespace Model } // namespace SSM } // namespace Aws