AWS SDK for C++  1.8.129
AWS SDK for C++
CreateDeploymentResult.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& GetDeploymentId() const{ return m_deploymentId; }
46 
51  inline void SetDeploymentId(const Aws::String& value) { m_deploymentId = value; }
52 
57  inline void SetDeploymentId(Aws::String&& value) { m_deploymentId = std::move(value); }
58 
63  inline void SetDeploymentId(const char* value) { m_deploymentId.assign(value); }
64 
69  inline CreateDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
70 
75  inline CreateDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
76 
81  inline CreateDeploymentResult& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_deploymentId;
86  };
87 
88 } // namespace Model
89 } // namespace OpsWorks
90 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::CreateDeploymentResult::operator=
CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::CreateDeploymentResult
Definition: CreateDeploymentResult.h:34
Aws::OpsWorks::Model::CreateDeploymentResult::WithDeploymentId
CreateDeploymentResult & WithDeploymentId(Aws::String &&value)
Definition: CreateDeploymentResult.h:75
Aws::OpsWorks::Model::CreateDeploymentResult::SetDeploymentId
void SetDeploymentId(Aws::String &&value)
Definition: CreateDeploymentResult.h:57
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::CreateDeploymentResult::SetDeploymentId
void SetDeploymentId(const Aws::String &value)
Definition: CreateDeploymentResult.h:51
Aws::OpsWorks::Model::CreateDeploymentResult::WithDeploymentId
CreateDeploymentResult & WithDeploymentId(const char *value)
Definition: CreateDeploymentResult.h:81
Aws::OpsWorks::Model::CreateDeploymentResult::WithDeploymentId
CreateDeploymentResult & WithDeploymentId(const Aws::String &value)
Definition: CreateDeploymentResult.h:69
AWSString.h
Aws::OpsWorks::Model::CreateDeploymentResult::CreateDeploymentResult
CreateDeploymentResult()
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::CreateDeploymentResult::CreateDeploymentResult
CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::CreateDeploymentResult::GetDeploymentId
const Aws::String & GetDeploymentId() const
Definition: CreateDeploymentResult.h:45
Aws::OpsWorks::Model::CreateDeploymentResult::SetDeploymentId
void SetDeploymentId(const char *value)
Definition: CreateDeploymentResult.h:63