AWS SDK for C++  1.8.126
AWS SDK for C++
Deployment.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Greengrass
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
45 
49  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
50 
54  inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
55 
59  inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
60 
64  inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
65 
69  inline Deployment& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
70 
74  inline Deployment& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
75 
79  inline Deployment& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
80 
81 
85  inline const Aws::String& GetDeploymentArn() const{ return m_deploymentArn; }
86 
90  inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; }
91 
95  inline void SetDeploymentArn(const Aws::String& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = value; }
96 
100  inline void SetDeploymentArn(Aws::String&& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::move(value); }
101 
105  inline void SetDeploymentArn(const char* value) { m_deploymentArnHasBeenSet = true; m_deploymentArn.assign(value); }
106 
110  inline Deployment& WithDeploymentArn(const Aws::String& value) { SetDeploymentArn(value); return *this;}
111 
115  inline Deployment& WithDeploymentArn(Aws::String&& value) { SetDeploymentArn(std::move(value)); return *this;}
116 
120  inline Deployment& WithDeploymentArn(const char* value) { SetDeploymentArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
127 
131  inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
132 
136  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
137 
141  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
142 
146  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
147 
151  inline Deployment& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
152 
156  inline Deployment& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
157 
161  inline Deployment& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
162 
163 
167  inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
168 
172  inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
173 
177  inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
178 
182  inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
183 
187  inline Deployment& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
188 
192  inline Deployment& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
193 
194 
198  inline const Aws::String& GetGroupArn() const{ return m_groupArn; }
199 
203  inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
204 
208  inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; }
209 
213  inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); }
214 
218  inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); }
219 
223  inline Deployment& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;}
224 
228  inline Deployment& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;}
229 
233  inline Deployment& WithGroupArn(const char* value) { SetGroupArn(value); return *this;}
234 
235  private:
236 
237  Aws::String m_createdAt;
238  bool m_createdAtHasBeenSet;
239 
240  Aws::String m_deploymentArn;
241  bool m_deploymentArnHasBeenSet;
242 
243  Aws::String m_deploymentId;
244  bool m_deploymentIdHasBeenSet;
245 
246  DeploymentType m_deploymentType;
247  bool m_deploymentTypeHasBeenSet;
248 
249  Aws::String m_groupArn;
250  bool m_groupArnHasBeenSet;
251  };
252 
253 } // namespace Model
254 } // namespace Greengrass
255 } // namespace Aws
Aws::Greengrass::Model::Deployment::WithGroupArn
Deployment & WithGroupArn(Aws::String &&value)
Definition: Deployment.h:228
Aws::Greengrass::Model::Deployment::WithDeploymentArn
Deployment & WithDeploymentArn(const char *value)
Definition: Deployment.h:120
Aws::Greengrass::Model::Deployment::SetDeploymentType
void SetDeploymentType(const DeploymentType &value)
Definition: Deployment.h:177
Aws::Greengrass::Model::Deployment::DeploymentArnHasBeenSet
bool DeploymentArnHasBeenSet() const
Definition: Deployment.h:90
Aws::Greengrass::Model::Deployment::WithDeploymentId
Deployment & WithDeploymentId(const Aws::String &value)
Definition: Deployment.h:151
Aws::Greengrass::Model::Deployment::WithCreatedAt
Deployment & WithCreatedAt(Aws::String &&value)
Definition: Deployment.h:74
Greengrass_EXPORTS.h
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
Aws::Greengrass::Model::Deployment::WithDeploymentId
Deployment & WithDeploymentId(const char *value)
Definition: Deployment.h:161
Aws::Greengrass::Model::DeploymentType
DeploymentType
Definition: DeploymentType.h:17
Aws::Greengrass::Model::Deployment::SetDeploymentId
void SetDeploymentId(const char *value)
Definition: Deployment.h:146
Aws::Greengrass::Model::Deployment::WithCreatedAt
Deployment & WithCreatedAt(const char *value)
Definition: Deployment.h:79
Aws::Greengrass::Model::Deployment::WithDeploymentArn
Deployment & WithDeploymentArn(Aws::String &&value)
Definition: Deployment.h:115
Aws::Greengrass::Model::Deployment::SetDeploymentId
void SetDeploymentId(const Aws::String &value)
Definition: Deployment.h:136
Aws::Greengrass::Model::Deployment::GroupArnHasBeenSet
bool GroupArnHasBeenSet() const
Definition: Deployment.h:203
Aws::Greengrass::Model::Deployment::Deployment
Deployment(Aws::Utils::Json::JsonView jsonValue)
Aws::Greengrass::Model::Deployment
Definition: Deployment.h:33
Aws::Greengrass::Model::Deployment::GetDeploymentArn
const Aws::String & GetDeploymentArn() const
Definition: Deployment.h:85
Aws::Greengrass::Model::Deployment::WithDeploymentId
Deployment & WithDeploymentId(Aws::String &&value)
Definition: Deployment.h:156
Aws::Greengrass::Model::Deployment::WithDeploymentType
Deployment & WithDeploymentType(DeploymentType &&value)
Definition: Deployment.h:192
Aws::Greengrass::Model::Deployment::WithCreatedAt
Deployment & WithCreatedAt(const Aws::String &value)
Definition: Deployment.h:69
Aws::Greengrass::Model::Deployment::SetDeploymentType
void SetDeploymentType(DeploymentType &&value)
Definition: Deployment.h:182
Aws::Greengrass::Model::Deployment::SetDeploymentArn
void SetDeploymentArn(Aws::String &&value)
Definition: Deployment.h:100
Aws::Greengrass::Model::Deployment::SetGroupArn
void SetGroupArn(Aws::String &&value)
Definition: Deployment.h:213
Aws::Greengrass::Model::Deployment::WithDeploymentArn
Deployment & WithDeploymentArn(const Aws::String &value)
Definition: Deployment.h:110
Aws::Greengrass::Model::Deployment::DeploymentTypeHasBeenSet
bool DeploymentTypeHasBeenSet() const
Definition: Deployment.h:172
Aws::Greengrass::Model::Deployment::GetGroupArn
const Aws::String & GetGroupArn() const
Definition: Deployment.h:198
Aws::Greengrass::Model::Deployment::SetCreatedAt
void SetCreatedAt(const char *value)
Definition: Deployment.h:64
Aws::Greengrass::Model::Deployment::SetDeploymentArn
void SetDeploymentArn(const Aws::String &value)
Definition: Deployment.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Greengrass::Model::Deployment::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Deployment.h:49
Aws::Greengrass::Model::Deployment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Greengrass::Model::Deployment::WithDeploymentType
Deployment & WithDeploymentType(const DeploymentType &value)
Definition: Deployment.h:187
Aws::Greengrass::Model::Deployment::GetDeploymentType
const DeploymentType & GetDeploymentType() const
Definition: Deployment.h:167
Aws::Greengrass::Model::Deployment::GetCreatedAt
const Aws::String & GetCreatedAt() const
Definition: Deployment.h:44
Aws::Greengrass::Model::Deployment::SetDeploymentId
void SetDeploymentId(Aws::String &&value)
Definition: Deployment.h:141
DeploymentType.h
Aws::Greengrass::Model::Deployment::operator=
Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::Deployment::WithGroupArn
Deployment & WithGroupArn(const char *value)
Definition: Deployment.h:233
Aws::Greengrass::Model::Deployment::DeploymentIdHasBeenSet
bool DeploymentIdHasBeenSet() const
Definition: Deployment.h:131
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Greengrass::Model::Deployment::SetGroupArn
void SetGroupArn(const Aws::String &value)
Definition: Deployment.h:208
Aws::Greengrass::Model::Deployment::SetGroupArn
void SetGroupArn(const char *value)
Definition: Deployment.h:218
Aws::Greengrass::Model::Deployment::SetCreatedAt
void SetCreatedAt(Aws::String &&value)
Definition: Deployment.h:59
Aws::Greengrass::Model::Deployment::SetCreatedAt
void SetCreatedAt(const Aws::String &value)
Definition: Deployment.h:54
Aws::Greengrass::Model::Deployment::WithGroupArn
Deployment & WithGroupArn(const Aws::String &value)
Definition: Deployment.h:223
Aws::Greengrass::Model::Deployment::SetDeploymentArn
void SetDeploymentArn(const char *value)
Definition: Deployment.h:105
Aws::Greengrass::Model::Deployment::Deployment
Deployment()
Aws::Greengrass::Model::Deployment::GetDeploymentId
const Aws::String & GetDeploymentId() const
Definition: Deployment.h:126