AWS SDK for C++  1.9.122
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 GreengrassV2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
39 
43  inline void SetDeploymentId(const Aws::String& value) { m_deploymentId = value; }
44 
48  inline void SetDeploymentId(Aws::String&& value) { m_deploymentId = std::move(value); }
49 
53  inline void SetDeploymentId(const char* value) { m_deploymentId.assign(value); }
54 
58  inline CreateDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
59 
63  inline CreateDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
64 
68  inline CreateDeploymentResult& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
69 
70 
74  inline const Aws::String& GetIotJobId() const{ return m_iotJobId; }
75 
79  inline void SetIotJobId(const Aws::String& value) { m_iotJobId = value; }
80 
84  inline void SetIotJobId(Aws::String&& value) { m_iotJobId = std::move(value); }
85 
89  inline void SetIotJobId(const char* value) { m_iotJobId.assign(value); }
90 
94  inline CreateDeploymentResult& WithIotJobId(const Aws::String& value) { SetIotJobId(value); return *this;}
95 
99  inline CreateDeploymentResult& WithIotJobId(Aws::String&& value) { SetIotJobId(std::move(value)); return *this;}
100 
104  inline CreateDeploymentResult& WithIotJobId(const char* value) { SetIotJobId(value); return *this;}
105 
106 
112  inline const Aws::String& GetIotJobArn() const{ return m_iotJobArn; }
113 
119  inline void SetIotJobArn(const Aws::String& value) { m_iotJobArn = value; }
120 
126  inline void SetIotJobArn(Aws::String&& value) { m_iotJobArn = std::move(value); }
127 
133  inline void SetIotJobArn(const char* value) { m_iotJobArn.assign(value); }
134 
140  inline CreateDeploymentResult& WithIotJobArn(const Aws::String& value) { SetIotJobArn(value); return *this;}
141 
147  inline CreateDeploymentResult& WithIotJobArn(Aws::String&& value) { SetIotJobArn(std::move(value)); return *this;}
148 
154  inline CreateDeploymentResult& WithIotJobArn(const char* value) { SetIotJobArn(value); return *this;}
155 
156  private:
157 
158  Aws::String m_deploymentId;
159 
160  Aws::String m_iotJobId;
161 
162  Aws::String m_iotJobArn;
163  };
164 
165 } // namespace Model
166 } // namespace GreengrassV2
167 } // namespace Aws
Aws::GreengrassV2::Model::CreateDeploymentResult::WithIotJobArn
CreateDeploymentResult & WithIotJobArn(const char *value)
Definition: CreateDeploymentResult.h:154
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::CreateDeploymentResult::SetIotJobArn
void SetIotJobArn(Aws::String &&value)
Definition: CreateDeploymentResult.h:126
Aws::GreengrassV2::Model::CreateDeploymentResult::SetIotJobArn
void SetIotJobArn(const Aws::String &value)
Definition: CreateDeploymentResult.h:119
Aws::GreengrassV2::Model::CreateDeploymentResult::WithIotJobId
CreateDeploymentResult & WithIotJobId(Aws::String &&value)
Definition: CreateDeploymentResult.h:99
Aws::GreengrassV2::Model::CreateDeploymentResult::SetIotJobId
void SetIotJobId(Aws::String &&value)
Definition: CreateDeploymentResult.h:84
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::CreateDeploymentResult::operator=
CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::CreateDeploymentResult::GetIotJobArn
const Aws::String & GetIotJobArn() const
Definition: CreateDeploymentResult.h:112
Aws::GreengrassV2::Model::CreateDeploymentResult::SetIotJobArn
void SetIotJobArn(const char *value)
Definition: CreateDeploymentResult.h:133
Aws::GreengrassV2::Model::CreateDeploymentResult::GetDeploymentId
const Aws::String & GetDeploymentId() const
Definition: CreateDeploymentResult.h:38
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::CreateDeploymentResult::SetDeploymentId
void SetDeploymentId(const char *value)
Definition: CreateDeploymentResult.h:53
Aws::GreengrassV2::Model::CreateDeploymentResult::CreateDeploymentResult
CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::CreateDeploymentResult::SetIotJobId
void SetIotJobId(const Aws::String &value)
Definition: CreateDeploymentResult.h:79
Aws::GreengrassV2::Model::CreateDeploymentResult::WithDeploymentId
CreateDeploymentResult & WithDeploymentId(const Aws::String &value)
Definition: CreateDeploymentResult.h:58
Aws::GreengrassV2::Model::CreateDeploymentResult::SetIotJobId
void SetIotJobId(const char *value)
Definition: CreateDeploymentResult.h:89
AWSString.h
Aws::GreengrassV2::Model::CreateDeploymentResult::GetIotJobId
const Aws::String & GetIotJobId() const
Definition: CreateDeploymentResult.h:74
Aws::GreengrassV2::Model::CreateDeploymentResult::SetDeploymentId
void SetDeploymentId(const Aws::String &value)
Definition: CreateDeploymentResult.h:43
Aws::GreengrassV2::Model::CreateDeploymentResult::WithIotJobArn
CreateDeploymentResult & WithIotJobArn(const Aws::String &value)
Definition: CreateDeploymentResult.h:140
Aws::GreengrassV2::Model::CreateDeploymentResult::WithIotJobId
CreateDeploymentResult & WithIotJobId(const Aws::String &value)
Definition: CreateDeploymentResult.h:94
Aws::GreengrassV2::Model::CreateDeploymentResult::WithDeploymentId
CreateDeploymentResult & WithDeploymentId(const char *value)
Definition: CreateDeploymentResult.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::CreateDeploymentResult::WithIotJobId
CreateDeploymentResult & WithIotJobId(const char *value)
Definition: CreateDeploymentResult.h:104
Aws::GreengrassV2::Model::CreateDeploymentResult::WithDeploymentId
CreateDeploymentResult & WithDeploymentId(Aws::String &&value)
Definition: CreateDeploymentResult.h:63
Aws::GreengrassV2::Model::CreateDeploymentResult::CreateDeploymentResult
CreateDeploymentResult()
Aws::GreengrassV2::Model::CreateDeploymentResult::SetDeploymentId
void SetDeploymentId(Aws::String &&value)
Definition: CreateDeploymentResult.h:48
Aws::GreengrassV2::Model::CreateDeploymentResult::WithIotJobArn
CreateDeploymentResult & WithIotJobArn(Aws::String &&value)
Definition: CreateDeploymentResult.h:147
Aws::GreengrassV2::Model::CreateDeploymentResult
Definition: CreateDeploymentResult.h:28