AWS SDK for C++  1.9.108
AWS SDK for C++
CloneStackResult.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 
44  inline const Aws::String& GetStackId() const{ return m_stackId; }
45 
49  inline void SetStackId(const Aws::String& value) { m_stackId = value; }
50 
54  inline void SetStackId(Aws::String&& value) { m_stackId = std::move(value); }
55 
59  inline void SetStackId(const char* value) { m_stackId.assign(value); }
60 
64  inline CloneStackResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
65 
69  inline CloneStackResult& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
70 
74  inline CloneStackResult& WithStackId(const char* value) { SetStackId(value); return *this;}
75 
76  private:
77 
78  Aws::String m_stackId;
79  };
80 
81 } // namespace Model
82 } // namespace OpsWorks
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::CloneStackResult::SetStackId
void SetStackId(Aws::String &&value)
Definition: CloneStackResult.h:54
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::CloneStackResult::WithStackId
CloneStackResult & WithStackId(const Aws::String &value)
Definition: CloneStackResult.h:64
Aws::OpsWorks::Model::CloneStackResult::WithStackId
CloneStackResult & WithStackId(const char *value)
Definition: CloneStackResult.h:74
Aws::OpsWorks::Model::CloneStackResult::CloneStackResult
CloneStackResult()
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
AWSString.h
Aws::OpsWorks::Model::CloneStackResult::SetStackId
void SetStackId(const Aws::String &value)
Definition: CloneStackResult.h:49
Aws::OpsWorks::Model::CloneStackResult::SetStackId
void SetStackId(const char *value)
Definition: CloneStackResult.h:59
Aws::OpsWorks::Model::CloneStackResult
Definition: CloneStackResult.h:34
Aws::OpsWorks::Model::CloneStackResult::CloneStackResult
CloneStackResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::CloneStackResult::operator=
CloneStackResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::CloneStackResult::GetStackId
const Aws::String & GetStackId() const
Definition: CloneStackResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::CloneStackResult::WithStackId
CloneStackResult & WithStackId(Aws::String &&value)
Definition: CloneStackResult.h:69