/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { /** *

The output for the CreateChangeSet action.

See Also:

* AWS * API Reference

*/ class CreateChangeSetResult { public: AWS_CLOUDFORMATION_API CreateChangeSetResult(); AWS_CLOUDFORMATION_API CreateChangeSetResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFORMATION_API CreateChangeSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline CreateChangeSetResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline CreateChangeSetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline CreateChangeSetResult& WithId(const char* value) { SetId(value); return *this;} /** *

The unique ID of the stack.

*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *

The unique ID of the stack.

*/ inline void SetStackId(const Aws::String& value) { m_stackId = value; } /** *

The unique ID of the stack.

*/ inline void SetStackId(Aws::String&& value) { m_stackId = std::move(value); } /** *

The unique ID of the stack.

*/ inline void SetStackId(const char* value) { m_stackId.assign(value); } /** *

The unique ID of the stack.

*/ inline CreateChangeSetResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *

The unique ID of the stack.

*/ inline CreateChangeSetResult& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *

The unique ID of the stack.

*/ inline CreateChangeSetResult& WithStackId(const char* value) { SetStackId(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline CreateChangeSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateChangeSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_id; Aws::String m_stackId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws