/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace OpsWorks { namespace Model { /** *

Contains the response to a CreateStack request.

See * Also:

AWS * API Reference

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

The stack ID, which is an opaque string that you use to identify the stack * when performing actions such as DescribeStacks.

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

The stack ID, which is an opaque string that you use to identify the stack * when performing actions such as DescribeStacks.

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

The stack ID, which is an opaque string that you use to identify the stack * when performing actions such as DescribeStacks.

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

The stack ID, which is an opaque string that you use to identify the stack * when performing actions such as DescribeStacks.

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

The stack ID, which is an opaque string that you use to identify the stack * when performing actions such as DescribeStacks.

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

The stack ID, which is an opaque string that you use to identify the stack * when performing actions such as DescribeStacks.

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

The stack ID, which is an opaque string that you use to identify the stack * when performing actions such as DescribeStacks.

*/ inline CreateStackResult& WithStackId(const char* value) { SetStackId(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 CreateStackResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStackResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStackResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_stackId; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorks } // namespace Aws