AWS SDK for C++  1.9.108
AWS SDK for C++
CreateStackResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace OpsWorks
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetStackId() const{ return m_stackId; }
46 
51  inline void SetStackId(const Aws::String& value) { m_stackId = value; }
52 
57  inline void SetStackId(Aws::String&& value) { m_stackId = std::move(value); }
58 
63  inline void SetStackId(const char* value) { m_stackId.assign(value); }
64 
69  inline CreateStackResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
70 
75  inline CreateStackResult& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
76 
81  inline CreateStackResult& WithStackId(const char* value) { SetStackId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_stackId;
86  };
87 
88 } // namespace Model
89 } // namespace OpsWorks
90 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::CreateStackResult::operator=
CreateStackResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::CreateStackResult::WithStackId
CreateStackResult & WithStackId(Aws::String &&value)
Definition: CreateStackResult.h:75
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::CreateStackResult::WithStackId
CreateStackResult & WithStackId(const Aws::String &value)
Definition: CreateStackResult.h:69
Aws::OpsWorks::Model::CreateStackResult
Definition: CreateStackResult.h:34
Aws::OpsWorks::Model::CreateStackResult::SetStackId
void SetStackId(const Aws::String &value)
Definition: CreateStackResult.h:51
AWSString.h
Aws::OpsWorks::Model::CreateStackResult::SetStackId
void SetStackId(Aws::String &&value)
Definition: CreateStackResult.h:57
Aws::OpsWorks::Model::CreateStackResult::CreateStackResult
CreateStackResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::CreateStackResult::GetStackId
const Aws::String & GetStackId() const
Definition: CreateStackResult.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::CreateStackResult::CreateStackResult
CreateStackResult()
Aws::OpsWorks::Model::CreateStackResult::SetStackId
void SetStackId(const char *value)
Definition: CreateStackResult.h:63
Aws::OpsWorks::Model::CreateStackResult::WithStackId
CreateStackResult & WithStackId(const char *value)
Definition: CreateStackResult.h:81