AWS SDK for C++  1.9.160
AWS SDK for C++
InstanceSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Connect
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetId() const{ return m_id; }
47 
51  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 
56  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 
61  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 
66  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 
71  inline InstanceSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline InstanceSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 
81  inline InstanceSummary& WithId(const char* value) { SetId(value); return *this;}
82 
83 
87  inline const Aws::String& GetArn() const{ return m_arn; }
88 
92  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
93 
97  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
98 
102  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
103 
107  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
108 
112  inline InstanceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
113 
117  inline InstanceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
118 
122  inline InstanceSummary& WithArn(const char* value) { SetArn(value); return *this;}
123 
124 
128  inline const DirectoryType& GetIdentityManagementType() const{ return m_identityManagementType; }
129 
133  inline bool IdentityManagementTypeHasBeenSet() const { return m_identityManagementTypeHasBeenSet; }
134 
138  inline void SetIdentityManagementType(const DirectoryType& value) { m_identityManagementTypeHasBeenSet = true; m_identityManagementType = value; }
139 
143  inline void SetIdentityManagementType(DirectoryType&& value) { m_identityManagementTypeHasBeenSet = true; m_identityManagementType = std::move(value); }
144 
148  inline InstanceSummary& WithIdentityManagementType(const DirectoryType& value) { SetIdentityManagementType(value); return *this;}
149 
153  inline InstanceSummary& WithIdentityManagementType(DirectoryType&& value) { SetIdentityManagementType(std::move(value)); return *this;}
154 
155 
159  inline const Aws::String& GetInstanceAlias() const{ return m_instanceAlias; }
160 
164  inline bool InstanceAliasHasBeenSet() const { return m_instanceAliasHasBeenSet; }
165 
169  inline void SetInstanceAlias(const Aws::String& value) { m_instanceAliasHasBeenSet = true; m_instanceAlias = value; }
170 
174  inline void SetInstanceAlias(Aws::String&& value) { m_instanceAliasHasBeenSet = true; m_instanceAlias = std::move(value); }
175 
179  inline void SetInstanceAlias(const char* value) { m_instanceAliasHasBeenSet = true; m_instanceAlias.assign(value); }
180 
184  inline InstanceSummary& WithInstanceAlias(const Aws::String& value) { SetInstanceAlias(value); return *this;}
185 
189  inline InstanceSummary& WithInstanceAlias(Aws::String&& value) { SetInstanceAlias(std::move(value)); return *this;}
190 
194  inline InstanceSummary& WithInstanceAlias(const char* value) { SetInstanceAlias(value); return *this;}
195 
196 
200  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
201 
205  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
206 
210  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
211 
215  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
216 
220  inline InstanceSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
221 
225  inline InstanceSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
226 
227 
231  inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
232 
236  inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
237 
241  inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
242 
246  inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
247 
251  inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
252 
256  inline InstanceSummary& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
257 
261  inline InstanceSummary& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
262 
266  inline InstanceSummary& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
267 
268 
272  inline const InstanceStatus& GetInstanceStatus() const{ return m_instanceStatus; }
273 
277  inline bool InstanceStatusHasBeenSet() const { return m_instanceStatusHasBeenSet; }
278 
282  inline void SetInstanceStatus(const InstanceStatus& value) { m_instanceStatusHasBeenSet = true; m_instanceStatus = value; }
283 
287  inline void SetInstanceStatus(InstanceStatus&& value) { m_instanceStatusHasBeenSet = true; m_instanceStatus = std::move(value); }
288 
292  inline InstanceSummary& WithInstanceStatus(const InstanceStatus& value) { SetInstanceStatus(value); return *this;}
293 
297  inline InstanceSummary& WithInstanceStatus(InstanceStatus&& value) { SetInstanceStatus(std::move(value)); return *this;}
298 
299 
303  inline bool GetInboundCallsEnabled() const{ return m_inboundCallsEnabled; }
304 
308  inline bool InboundCallsEnabledHasBeenSet() const { return m_inboundCallsEnabledHasBeenSet; }
309 
313  inline void SetInboundCallsEnabled(bool value) { m_inboundCallsEnabledHasBeenSet = true; m_inboundCallsEnabled = value; }
314 
318  inline InstanceSummary& WithInboundCallsEnabled(bool value) { SetInboundCallsEnabled(value); return *this;}
319 
320 
324  inline bool GetOutboundCallsEnabled() const{ return m_outboundCallsEnabled; }
325 
329  inline bool OutboundCallsEnabledHasBeenSet() const { return m_outboundCallsEnabledHasBeenSet; }
330 
334  inline void SetOutboundCallsEnabled(bool value) { m_outboundCallsEnabledHasBeenSet = true; m_outboundCallsEnabled = value; }
335 
339  inline InstanceSummary& WithOutboundCallsEnabled(bool value) { SetOutboundCallsEnabled(value); return *this;}
340 
341  private:
342 
343  Aws::String m_id;
344  bool m_idHasBeenSet;
345 
346  Aws::String m_arn;
347  bool m_arnHasBeenSet;
348 
349  DirectoryType m_identityManagementType;
350  bool m_identityManagementTypeHasBeenSet;
351 
352  Aws::String m_instanceAlias;
353  bool m_instanceAliasHasBeenSet;
354 
355  Aws::Utils::DateTime m_createdTime;
356  bool m_createdTimeHasBeenSet;
357 
358  Aws::String m_serviceRole;
359  bool m_serviceRoleHasBeenSet;
360 
361  InstanceStatus m_instanceStatus;
362  bool m_instanceStatusHasBeenSet;
363 
364  bool m_inboundCallsEnabled;
365  bool m_inboundCallsEnabledHasBeenSet;
366 
367  bool m_outboundCallsEnabled;
368  bool m_outboundCallsEnabledHasBeenSet;
369  };
370 
371 } // namespace Model
372 } // namespace Connect
373 } // namespace Aws
Aws::Connect::Model::InstanceSummary::SetId
void SetId(const Aws::String &value)
Definition: InstanceSummary.h:56
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Connect::Model::InstanceSummary::SetInboundCallsEnabled
void SetInboundCallsEnabled(bool value)
Definition: InstanceSummary.h:313
Aws::Connect::Model::InstanceSummary::WithInstanceStatus
InstanceSummary & WithInstanceStatus(const InstanceStatus &value)
Definition: InstanceSummary.h:292
Aws::Connect::Model::InstanceSummary::SetInstanceAlias
void SetInstanceAlias(const char *value)
Definition: InstanceSummary.h:179
Aws::Connect::Model::InstanceSummary
Definition: InstanceSummary.h:35
Aws::Connect::Model::InstanceSummary::SetServiceRole
void SetServiceRole(Aws::String &&value)
Definition: InstanceSummary.h:246
Aws::Connect::Model::InstanceSummary::WithIdentityManagementType
InstanceSummary & WithIdentityManagementType(const DirectoryType &value)
Definition: InstanceSummary.h:148
Aws::Connect::Model::InstanceSummary::SetServiceRole
void SetServiceRole(const char *value)
Definition: InstanceSummary.h:251
Aws::Connect::Model::InstanceSummary::WithCreatedTime
InstanceSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: InstanceSummary.h:220
Aws::Connect::Model::InstanceSummary::SetInstanceAlias
void SetInstanceAlias(Aws::String &&value)
Definition: InstanceSummary.h:174
Aws::Connect::Model::InstanceSummary::GetInboundCallsEnabled
bool GetInboundCallsEnabled() const
Definition: InstanceSummary.h:303
DirectoryType.h
Aws::Connect::Model::InstanceSummary::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: InstanceSummary.h:200
Aws::Connect::Model::InstanceSummary::GetInstanceAlias
const Aws::String & GetInstanceAlias() const
Definition: InstanceSummary.h:159
DateTime.h
Aws::Connect::Model::InstanceSummary::WithArn
InstanceSummary & WithArn(const Aws::String &value)
Definition: InstanceSummary.h:112
Aws::Connect::Model::InstanceSummary::InboundCallsEnabledHasBeenSet
bool InboundCallsEnabledHasBeenSet() const
Definition: InstanceSummary.h:308
Aws::Connect::Model::InstanceSummary::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: InstanceSummary.h:215
Aws::Connect::Model::InstanceSummary::ServiceRoleHasBeenSet
bool ServiceRoleHasBeenSet() const
Definition: InstanceSummary.h:236
Aws::Connect::Model::InstanceSummary::SetOutboundCallsEnabled
void SetOutboundCallsEnabled(bool value)
Definition: InstanceSummary.h:334
Aws::Connect::Model::InstanceSummary::WithCreatedTime
InstanceSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: InstanceSummary.h:225
Aws::Connect::Model::InstanceSummary::WithServiceRole
InstanceSummary & WithServiceRole(const char *value)
Definition: InstanceSummary.h:266
Aws::Connect::Model::InstanceSummary::operator=
InstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::InstanceSummary::WithId
InstanceSummary & WithId(const Aws::String &value)
Definition: InstanceSummary.h:71
Aws::Connect::Model::InstanceSummary::GetInstanceStatus
const InstanceStatus & GetInstanceStatus() const
Definition: InstanceSummary.h:272
Aws::Connect::Model::InstanceSummary::InstanceAliasHasBeenSet
bool InstanceAliasHasBeenSet() const
Definition: InstanceSummary.h:164
Aws::Connect::Model::InstanceSummary::IdentityManagementTypeHasBeenSet
bool IdentityManagementTypeHasBeenSet() const
Definition: InstanceSummary.h:133
Aws::Connect::Model::InstanceSummary::SetArn
void SetArn(Aws::String &&value)
Definition: InstanceSummary.h:102
Aws::Connect::Model::InstanceSummary::InstanceSummary
InstanceSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::InstanceSummary::SetIdentityManagementType
void SetIdentityManagementType(const DirectoryType &value)
Definition: InstanceSummary.h:138
Aws::Connect::Model::InstanceSummary::WithInstanceStatus
InstanceSummary & WithInstanceStatus(InstanceStatus &&value)
Definition: InstanceSummary.h:297
Aws::Connect::Model::InstanceSummary::WithId
InstanceSummary & WithId(const char *value)
Definition: InstanceSummary.h:81
Aws::Connect::Model::InstanceSummary::WithId
InstanceSummary & WithId(Aws::String &&value)
Definition: InstanceSummary.h:76
Aws::Connect::Model::InstanceSummary::SetInstanceStatus
void SetInstanceStatus(InstanceStatus &&value)
Definition: InstanceSummary.h:287
Aws::Connect::Model::InstanceSummary::GetIdentityManagementType
const DirectoryType & GetIdentityManagementType() const
Definition: InstanceSummary.h:128
Aws::Connect::Model::InstanceSummary::GetOutboundCallsEnabled
bool GetOutboundCallsEnabled() const
Definition: InstanceSummary.h:324
Aws::Connect::Model::InstanceSummary::WithInstanceAlias
InstanceSummary & WithInstanceAlias(const char *value)
Definition: InstanceSummary.h:194
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::InstanceSummary::WithIdentityManagementType
InstanceSummary & WithIdentityManagementType(DirectoryType &&value)
Definition: InstanceSummary.h:153
InstanceStatus.h
Aws::Connect::Model::InstanceSummary::OutboundCallsEnabledHasBeenSet
bool OutboundCallsEnabledHasBeenSet() const
Definition: InstanceSummary.h:329
Aws::Connect::Model::InstanceSummary::SetId
void SetId(const char *value)
Definition: InstanceSummary.h:66
Aws::Connect::Model::InstanceSummary::WithServiceRole
InstanceSummary & WithServiceRole(const Aws::String &value)
Definition: InstanceSummary.h:256
Aws::Connect::Model::InstanceSummary::GetServiceRole
const Aws::String & GetServiceRole() const
Definition: InstanceSummary.h:231
Aws::Connect::Model::InstanceSummary::GetArn
const Aws::String & GetArn() const
Definition: InstanceSummary.h:87
Aws::Connect::Model::InstanceSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: InstanceSummary.h:92
Aws::Connect::Model::DirectoryType
DirectoryType
Definition: DirectoryType.h:17
Aws::Connect::Model::InstanceSummary::SetIdentityManagementType
void SetIdentityManagementType(DirectoryType &&value)
Definition: InstanceSummary.h:143
Aws::Connect::Model::InstanceSummary::SetId
void SetId(Aws::String &&value)
Definition: InstanceSummary.h:61
Aws::Connect::Model::InstanceStatus
InstanceStatus
Definition: InstanceStatus.h:17
Aws::Connect::Model::InstanceSummary::WithServiceRole
InstanceSummary & WithServiceRole(Aws::String &&value)
Definition: InstanceSummary.h:261
Aws::Connect::Model::InstanceSummary::SetArn
void SetArn(const Aws::String &value)
Definition: InstanceSummary.h:97
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::InstanceSummary::SetInstanceStatus
void SetInstanceStatus(const InstanceStatus &value)
Definition: InstanceSummary.h:282
Aws::Connect::Model::InstanceSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: InstanceSummary.h:51
Aws::Connect::Model::InstanceSummary::SetInstanceAlias
void SetInstanceAlias(const Aws::String &value)
Definition: InstanceSummary.h:169
Aws::Connect::Model::InstanceSummary::SetServiceRole
void SetServiceRole(const Aws::String &value)
Definition: InstanceSummary.h:241
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::InstanceSummary::GetId
const Aws::String & GetId() const
Definition: InstanceSummary.h:46
Aws::Connect::Model::InstanceSummary::SetArn
void SetArn(const char *value)
Definition: InstanceSummary.h:107
Aws::Connect::Model::InstanceSummary::WithInstanceAlias
InstanceSummary & WithInstanceAlias(Aws::String &&value)
Definition: InstanceSummary.h:189
Aws::Connect::Model::InstanceSummary::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: InstanceSummary.h:210
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::InstanceSummary::WithInboundCallsEnabled
InstanceSummary & WithInboundCallsEnabled(bool value)
Definition: InstanceSummary.h:318
Aws::Connect::Model::InstanceSummary::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: InstanceSummary.h:205
Connect_EXPORTS.h
Aws::Connect::Model::InstanceSummary::InstanceStatusHasBeenSet
bool InstanceStatusHasBeenSet() const
Definition: InstanceSummary.h:277
Aws::Connect::Model::InstanceSummary::InstanceSummary
InstanceSummary()
Aws::Connect::Model::InstanceSummary::WithOutboundCallsEnabled
InstanceSummary & WithOutboundCallsEnabled(bool value)
Definition: InstanceSummary.h:339
Aws::Connect::Model::InstanceSummary::WithArn
InstanceSummary & WithArn(const char *value)
Definition: InstanceSummary.h:122
Aws::Connect::Model::InstanceSummary::WithInstanceAlias
InstanceSummary & WithInstanceAlias(const Aws::String &value)
Definition: InstanceSummary.h:184
Aws::Connect::Model::InstanceSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::InstanceSummary::WithArn
InstanceSummary & WithArn(Aws::String &&value)
Definition: InstanceSummary.h:117