AWS SDK for C++  1.9.175
AWS SDK for C++
Environment.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace Cloud9
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetId() const{ return m_id; }
49 
53  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 
58  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 
63  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 
68  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 
73  inline Environment& WithId(const Aws::String& value) { SetId(value); return *this;}
74 
78  inline Environment& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
79 
83  inline Environment& WithId(const char* value) { SetId(value); return *this;}
84 
85 
89  inline const Aws::String& GetName() const{ return m_name; }
90 
94  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 
99  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
100 
104  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 
109  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 
114  inline Environment& WithName(const Aws::String& value) { SetName(value); return *this;}
115 
119  inline Environment& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 
124  inline Environment& WithName(const char* value) { SetName(value); return *this;}
125 
126 
130  inline const Aws::String& GetDescription() const{ return m_description; }
131 
135  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
136 
140  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
141 
145  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
146 
150  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
151 
155  inline Environment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 
160  inline Environment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
161 
165  inline Environment& WithDescription(const char* value) { SetDescription(value); return *this;}
166 
167 
174  inline const EnvironmentType& GetType() const{ return m_type; }
175 
182  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
183 
190  inline void SetType(const EnvironmentType& value) { m_typeHasBeenSet = true; m_type = value; }
191 
198  inline void SetType(EnvironmentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
199 
206  inline Environment& WithType(const EnvironmentType& value) { SetType(value); return *this;}
207 
214  inline Environment& WithType(EnvironmentType&& value) { SetType(std::move(value)); return *this;}
215 
216 
221  inline const ConnectionType& GetConnectionType() const{ return m_connectionType; }
222 
227  inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
228 
233  inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
234 
239  inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
240 
245  inline Environment& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;}
246 
251  inline Environment& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;}
252 
253 
257  inline const Aws::String& GetArn() const{ return m_arn; }
258 
262  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
263 
267  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
268 
272  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
273 
277  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
278 
282  inline Environment& WithArn(const Aws::String& value) { SetArn(value); return *this;}
283 
287  inline Environment& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
288 
292  inline Environment& WithArn(const char* value) { SetArn(value); return *this;}
293 
294 
298  inline const Aws::String& GetOwnerArn() const{ return m_ownerArn; }
299 
303  inline bool OwnerArnHasBeenSet() const { return m_ownerArnHasBeenSet; }
304 
308  inline void SetOwnerArn(const Aws::String& value) { m_ownerArnHasBeenSet = true; m_ownerArn = value; }
309 
313  inline void SetOwnerArn(Aws::String&& value) { m_ownerArnHasBeenSet = true; m_ownerArn = std::move(value); }
314 
318  inline void SetOwnerArn(const char* value) { m_ownerArnHasBeenSet = true; m_ownerArn.assign(value); }
319 
323  inline Environment& WithOwnerArn(const Aws::String& value) { SetOwnerArn(value); return *this;}
324 
328  inline Environment& WithOwnerArn(Aws::String&& value) { SetOwnerArn(std::move(value)); return *this;}
329 
333  inline Environment& WithOwnerArn(const char* value) { SetOwnerArn(value); return *this;}
334 
335 
339  inline const EnvironmentLifecycle& GetLifecycle() const{ return m_lifecycle; }
340 
344  inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
345 
349  inline void SetLifecycle(const EnvironmentLifecycle& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; }
350 
354  inline void SetLifecycle(EnvironmentLifecycle&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::move(value); }
355 
359  inline Environment& WithLifecycle(const EnvironmentLifecycle& value) { SetLifecycle(value); return *this;}
360 
364  inline Environment& WithLifecycle(EnvironmentLifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
365 
366 
380  inline const ManagedCredentialsStatus& GetManagedCredentialsStatus() const{ return m_managedCredentialsStatus; }
381 
395  inline bool ManagedCredentialsStatusHasBeenSet() const { return m_managedCredentialsStatusHasBeenSet; }
396 
410  inline void SetManagedCredentialsStatus(const ManagedCredentialsStatus& value) { m_managedCredentialsStatusHasBeenSet = true; m_managedCredentialsStatus = value; }
411 
425  inline void SetManagedCredentialsStatus(ManagedCredentialsStatus&& value) { m_managedCredentialsStatusHasBeenSet = true; m_managedCredentialsStatus = std::move(value); }
426 
440  inline Environment& WithManagedCredentialsStatus(const ManagedCredentialsStatus& value) { SetManagedCredentialsStatus(value); return *this;}
441 
455  inline Environment& WithManagedCredentialsStatus(ManagedCredentialsStatus&& value) { SetManagedCredentialsStatus(std::move(value)); return *this;}
456 
457  private:
458 
459  Aws::String m_id;
460  bool m_idHasBeenSet;
461 
462  Aws::String m_name;
463  bool m_nameHasBeenSet;
464 
465  Aws::String m_description;
466  bool m_descriptionHasBeenSet;
467 
468  EnvironmentType m_type;
469  bool m_typeHasBeenSet;
470 
471  ConnectionType m_connectionType;
472  bool m_connectionTypeHasBeenSet;
473 
474  Aws::String m_arn;
475  bool m_arnHasBeenSet;
476 
477  Aws::String m_ownerArn;
478  bool m_ownerArnHasBeenSet;
479 
480  EnvironmentLifecycle m_lifecycle;
481  bool m_lifecycleHasBeenSet;
482 
483  ManagedCredentialsStatus m_managedCredentialsStatus;
484  bool m_managedCredentialsStatusHasBeenSet;
485  };
486 
487 } // namespace Model
488 } // namespace Cloud9
489 } // namespace Aws
Aws::Cloud9::Model::ConnectionType
ConnectionType
Definition: ConnectionType.h:17
ManagedCredentialsStatus.h
Aws::Cloud9::Model::Environment::SetName
void SetName(const Aws::String &value)
Definition: Environment.h:99
Aws::Cloud9::Model::Environment::WithArn
Environment & WithArn(Aws::String &&value)
Definition: Environment.h:287
Aws::Cloud9::Model::Environment::SetId
void SetId(Aws::String &&value)
Definition: Environment.h:63
Aws::Cloud9::Model::Environment::WithType
Environment & WithType(EnvironmentType &&value)
Definition: Environment.h:214
Aws::Cloud9::Model::Environment::WithDescription
Environment & WithDescription(Aws::String &&value)
Definition: Environment.h:160
Aws::Cloud9::Model::Environment::SetOwnerArn
void SetOwnerArn(const char *value)
Definition: Environment.h:318
Aws::Cloud9::Model::Environment::GetId
const Aws::String & GetId() const
Definition: Environment.h:48
Aws::Cloud9::Model::Environment::WithConnectionType
Environment & WithConnectionType(const ConnectionType &value)
Definition: Environment.h:245
Aws::Cloud9::Model::Environment::WithArn
Environment & WithArn(const Aws::String &value)
Definition: Environment.h:282
Aws::Cloud9::Model::Environment::WithId
Environment & WithId(const Aws::String &value)
Definition: Environment.h:73
EnvironmentLifecycle.h
Aws::Cloud9::Model::Environment::WithOwnerArn
Environment & WithOwnerArn(Aws::String &&value)
Definition: Environment.h:328
AWS_CLOUD9_API
#define AWS_CLOUD9_API
Definition: Cloud9_EXPORTS.h:28
Aws::Cloud9::Model::Environment::IdHasBeenSet
bool IdHasBeenSet() const
Definition: Environment.h:53
Aws::Cloud9::Model::Environment::SetConnectionType
void SetConnectionType(ConnectionType &&value)
Definition: Environment.h:239
Aws::Cloud9::Model::Environment::WithLifecycle
Environment & WithLifecycle(const EnvironmentLifecycle &value)
Definition: Environment.h:359
Aws::Cloud9::Model::Environment::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Environment.h:182
Aws::Cloud9::Model::Environment::GetName
const Aws::String & GetName() const
Definition: Environment.h:89
Aws::Cloud9::Model::ManagedCredentialsStatus
ManagedCredentialsStatus
Definition: ManagedCredentialsStatus.h:17
Aws::Cloud9::Model::Environment::SetType
void SetType(EnvironmentType &&value)
Definition: Environment.h:198
Aws::Cloud9::Model::EnvironmentLifecycle
Definition: EnvironmentLifecycle.h:34
Aws::Cloud9::Model::Environment::SetConnectionType
void SetConnectionType(const ConnectionType &value)
Definition: Environment.h:233
Aws::Cloud9::Model::Environment::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Environment.h:135
EnvironmentType.h
Aws::Cloud9::Model::Environment::SetDescription
void SetDescription(const char *value)
Definition: Environment.h:150
Aws::Cloud9::Model::Environment::WithName
Environment & WithName(const Aws::String &value)
Definition: Environment.h:114
Aws::Cloud9::Model::Environment::Environment
Environment(Aws::Utils::Json::JsonView jsonValue)
Aws::Cloud9::Model::Environment::GetOwnerArn
const Aws::String & GetOwnerArn() const
Definition: Environment.h:298
Aws::Cloud9::Model::Environment::SetName
void SetName(const char *value)
Definition: Environment.h:109
Aws::Cloud9::Model::Environment::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Environment.h:94
Aws::Cloud9::Model::Environment::SetManagedCredentialsStatus
void SetManagedCredentialsStatus(const ManagedCredentialsStatus &value)
Definition: Environment.h:410
Aws::Cloud9::Model::Environment
Definition: Environment.h:37
Aws::Cloud9::Model::Environment::WithConnectionType
Environment & WithConnectionType(ConnectionType &&value)
Definition: Environment.h:251
Aws::Cloud9::Model::Environment::GetType
const EnvironmentType & GetType() const
Definition: Environment.h:174
Aws::Cloud9::Model::EnvironmentType
EnvironmentType
Definition: EnvironmentType.h:17
Aws::Cloud9::Model::Environment::SetLifecycle
void SetLifecycle(EnvironmentLifecycle &&value)
Definition: Environment.h:354
Aws::Cloud9::Model::Environment::ConnectionTypeHasBeenSet
bool ConnectionTypeHasBeenSet() const
Definition: Environment.h:227
Aws::Cloud9::Model::Environment::SetDescription
void SetDescription(Aws::String &&value)
Definition: Environment.h:145
Aws::Cloud9::Model::Environment::SetManagedCredentialsStatus
void SetManagedCredentialsStatus(ManagedCredentialsStatus &&value)
Definition: Environment.h:425
Aws::Cloud9::Model::Environment::GetArn
const Aws::String & GetArn() const
Definition: Environment.h:257
Aws::Cloud9::Model::Environment::operator=
Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Cloud9::Model::Environment::WithManagedCredentialsStatus
Environment & WithManagedCredentialsStatus(const ManagedCredentialsStatus &value)
Definition: Environment.h:440
Aws::Cloud9::Model::Environment::WithDescription
Environment & WithDescription(const char *value)
Definition: Environment.h:165
Aws::Cloud9::Model::Environment::Environment
Environment()
Aws::Cloud9::Model::Environment::WithDescription
Environment & WithDescription(const Aws::String &value)
Definition: Environment.h:155
Aws::Cloud9::Model::Environment::LifecycleHasBeenSet
bool LifecycleHasBeenSet() const
Definition: Environment.h:344
Aws::Cloud9::Model::Environment::SetOwnerArn
void SetOwnerArn(Aws::String &&value)
Definition: Environment.h:313
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Cloud9::Model::Environment::SetId
void SetId(const char *value)
Definition: Environment.h:68
Aws::Cloud9::Model::Environment::GetManagedCredentialsStatus
const ManagedCredentialsStatus & GetManagedCredentialsStatus() const
Definition: Environment.h:380
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Cloud9::Model::Environment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Cloud9::Model::Environment::WithType
Environment & WithType(const EnvironmentType &value)
Definition: Environment.h:206
Aws::Cloud9::Model::Environment::SetOwnerArn
void SetOwnerArn(const Aws::String &value)
Definition: Environment.h:308
Aws::Cloud9::Model::Environment::SetId
void SetId(const Aws::String &value)
Definition: Environment.h:58
Aws::Cloud9::Model::Environment::SetArn
void SetArn(const Aws::String &value)
Definition: Environment.h:267
Aws::Cloud9::Model::Environment::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Environment.h:262
Aws::Cloud9::Model::Environment::WithArn
Environment & WithArn(const char *value)
Definition: Environment.h:292
Aws::Cloud9::Model::Environment::SetLifecycle
void SetLifecycle(const EnvironmentLifecycle &value)
Definition: Environment.h:349
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Cloud9::Model::Environment::WithName
Environment & WithName(Aws::String &&value)
Definition: Environment.h:119
Aws::Cloud9::Model::Environment::WithId
Environment & WithId(Aws::String &&value)
Definition: Environment.h:78
ConnectionType.h
Aws::Cloud9::Model::Environment::ManagedCredentialsStatusHasBeenSet
bool ManagedCredentialsStatusHasBeenSet() const
Definition: Environment.h:395
Aws::Cloud9::Model::Environment::SetName
void SetName(Aws::String &&value)
Definition: Environment.h:104
Aws::Cloud9::Model::Environment::WithOwnerArn
Environment & WithOwnerArn(const Aws::String &value)
Definition: Environment.h:323
Aws::Cloud9::Model::Environment::SetDescription
void SetDescription(const Aws::String &value)
Definition: Environment.h:140
Aws::Cloud9::Model::Environment::OwnerArnHasBeenSet
bool OwnerArnHasBeenSet() const
Definition: Environment.h:303
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Cloud9::Model::Environment::WithManagedCredentialsStatus
Environment & WithManagedCredentialsStatus(ManagedCredentialsStatus &&value)
Definition: Environment.h:455
Aws::Cloud9::Model::Environment::SetArn
void SetArn(Aws::String &&value)
Definition: Environment.h:272
Aws::Cloud9::Model::Environment::SetArn
void SetArn(const char *value)
Definition: Environment.h:277
Aws::Cloud9::Model::Environment::SetType
void SetType(const EnvironmentType &value)
Definition: Environment.h:190
Cloud9_EXPORTS.h
Aws::Cloud9::Model::Environment::GetLifecycle
const EnvironmentLifecycle & GetLifecycle() const
Definition: Environment.h:339
Aws::Cloud9::Model::Environment::WithOwnerArn
Environment & WithOwnerArn(const char *value)
Definition: Environment.h:333
Aws::Cloud9::Model::Environment::GetDescription
const Aws::String & GetDescription() const
Definition: Environment.h:130
Aws::Cloud9::Model::Environment::WithLifecycle
Environment & WithLifecycle(EnvironmentLifecycle &&value)
Definition: Environment.h:364
Aws::Cloud9::Model::Environment::WithId
Environment & WithId(const char *value)
Definition: Environment.h:83
Aws::Cloud9::Model::Environment::GetConnectionType
const ConnectionType & GetConnectionType() const
Definition: Environment.h:221
Aws::Cloud9::Model::Environment::WithName
Environment & WithName(const char *value)
Definition: Environment.h:124