/** * 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 UnlabelParameterVersionResult { public: AWS_SSM_API UnlabelParameterVersionResult(); AWS_SSM_API UnlabelParameterVersionResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API UnlabelParameterVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of all labels deleted from the parameter.

*/ inline const Aws::Vector& GetRemovedLabels() const{ return m_removedLabels; } /** *

A list of all labels deleted from the parameter.

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

A list of all labels deleted from the parameter.

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

A list of all labels deleted from the parameter.

*/ inline UnlabelParameterVersionResult& WithRemovedLabels(const Aws::Vector& value) { SetRemovedLabels(value); return *this;} /** *

A list of all labels deleted from the parameter.

*/ inline UnlabelParameterVersionResult& WithRemovedLabels(Aws::Vector&& value) { SetRemovedLabels(std::move(value)); return *this;} /** *

A list of all labels deleted from the parameter.

*/ inline UnlabelParameterVersionResult& AddRemovedLabels(const Aws::String& value) { m_removedLabels.push_back(value); return *this; } /** *

A list of all labels deleted from the parameter.

*/ inline UnlabelParameterVersionResult& AddRemovedLabels(Aws::String&& value) { m_removedLabels.push_back(std::move(value)); return *this; } /** *

A list of all labels deleted from the parameter.

*/ inline UnlabelParameterVersionResult& AddRemovedLabels(const char* value) { m_removedLabels.push_back(value); return *this; } /** *

The labels that aren't attached to the given parameter version.

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

The labels that aren't attached to the given parameter version.

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

The labels that aren't attached to the given parameter version.

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

The labels that aren't attached to the given parameter version.

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

The labels that aren't attached to the given parameter version.

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

The labels that aren't attached to the given parameter version.

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

The labels that aren't attached to the given parameter version.

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

The labels that aren't attached to the given parameter version.

*/ inline UnlabelParameterVersionResult& AddInvalidLabels(const char* value) { m_invalidLabels.push_back(value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UnlabelParameterVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UnlabelParameterVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UnlabelParameterVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_removedLabels; Aws::Vector m_invalidLabels; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws