7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/DirectoryType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/connect/model/InstanceStatus.h>
12#include <aws/connect/model/InstanceStatusReason.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
54 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
55 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
68 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
69 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
95 inline void SetInstanceAlias(
const char* value) { m_instanceAliasHasBeenSet =
true; m_instanceAlias.assign(value); }
121 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
157 inline void SetInboundCallsEnabled(
bool value) { m_inboundCallsEnabledHasBeenSet =
true; m_inboundCallsEnabled = value; }
180 inline void SetInstanceAccessUrl(
const char* value) { m_instanceAccessUrlHasBeenSet =
true; m_instanceAccessUrl.assign(value); }
200 inline Instance&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
201 inline Instance&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
202 inline Instance&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
207 bool m_idHasBeenSet =
false;
210 bool m_arnHasBeenSet =
false;
213 bool m_identityManagementTypeHasBeenSet =
false;
216 bool m_instanceAliasHasBeenSet =
false;
219 bool m_createdTimeHasBeenSet =
false;
222 bool m_serviceRoleHasBeenSet =
false;
225 bool m_instanceStatusHasBeenSet =
false;
228 bool m_statusReasonHasBeenSet =
false;
230 bool m_inboundCallsEnabled;
231 bool m_inboundCallsEnabledHasBeenSet =
false;
233 bool m_outboundCallsEnabled;
234 bool m_outboundCallsEnabledHasBeenSet =
false;
237 bool m_instanceAccessUrlHasBeenSet =
false;
240 bool m_tagsHasBeenSet =
false;
void SetInstanceAlias(const char *value)
Instance & WithId(Aws::String &&value)
Instance & WithCreatedTime(const Aws::Utils::DateTime &value)
Instance & WithInstanceStatus(const InstanceStatus &value)
void SetServiceRole(const Aws::String &value)
Instance & WithInstanceAlias(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
bool OutboundCallsEnabledHasBeenSet() const
Instance & AddTags(const char *key, Aws::String &&value)
Instance & WithCreatedTime(Aws::Utils::DateTime &&value)
bool InstanceStatusHasBeenSet() const
const Aws::String & GetInstanceAlias() const
Instance & AddTags(Aws::String &&key, const char *value)
bool CreatedTimeHasBeenSet() const
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreatedTime() const
Instance & WithArn(const Aws::String &value)
Instance & WithOutboundCallsEnabled(bool value)
void SetServiceRole(Aws::String &&value)
bool ArnHasBeenSet() const
void SetInstanceAccessUrl(const Aws::String &value)
void SetIdentityManagementType(const DirectoryType &value)
Instance & WithInstanceStatus(InstanceStatus &&value)
Instance & WithInstanceAccessUrl(Aws::String &&value)
void SetId(const Aws::String &value)
Instance & WithServiceRole(const char *value)
void SetArn(const Aws::String &value)
const Aws::String & GetInstanceAccessUrl() const
const Aws::String & GetId() const
AWS_CONNECT_API Instance()
Instance & AddTags(Aws::String &&key, Aws::String &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceStatus(const InstanceStatus &value)
bool TagsHasBeenSet() const
void SetInstanceAlias(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Instance & WithServiceRole(const Aws::String &value)
Instance & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
Instance & WithId(const char *value)
const InstanceStatusReason & GetStatusReason() const
void SetInboundCallsEnabled(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetOutboundCallsEnabled(bool value)
Instance & AddTags(Aws::String &&key, const Aws::String &value)
void SetInstanceAlias(Aws::String &&value)
Instance & WithArn(const char *value)
Instance & WithInstanceAccessUrl(const Aws::String &value)
bool GetInboundCallsEnabled() const
void SetInstanceAccessUrl(const char *value)
Instance & AddTags(const Aws::String &key, Aws::String &&value)
Instance & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Instance & WithId(const Aws::String &value)
bool IdHasBeenSet() const
AWS_CONNECT_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Instance(Aws::Utils::Json::JsonView jsonValue)
Instance & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetId(const char *value)
void SetArn(const char *value)
Instance & WithStatusReason(InstanceStatusReason &&value)
const Aws::String & GetServiceRole() const
Instance & WithInstanceAlias(const Aws::String &value)
Instance & WithStatusReason(const InstanceStatusReason &value)
Instance & WithIdentityManagementType(const DirectoryType &value)
void SetStatusReason(const InstanceStatusReason &value)
void SetIdentityManagementType(DirectoryType &&value)
void SetInstanceAccessUrl(Aws::String &&value)
bool InstanceAliasHasBeenSet() const
Instance & AddTags(const char *key, const char *value)
Instance & AddTags(const Aws::String &key, const Aws::String &value)
const DirectoryType & GetIdentityManagementType() const
bool InstanceAccessUrlHasBeenSet() const
void SetStatusReason(InstanceStatusReason &&value)
Instance & WithServiceRole(Aws::String &&value)
void SetId(Aws::String &&value)
bool ServiceRoleHasBeenSet() const
void SetInstanceStatus(InstanceStatus &&value)
bool GetOutboundCallsEnabled() const
Instance & WithInstanceAccessUrl(const char *value)
bool IdentityManagementTypeHasBeenSet() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
Instance & WithInboundCallsEnabled(bool value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Instance & WithInstanceAlias(Aws::String &&value)
Instance & WithIdentityManagementType(DirectoryType &&value)
const InstanceStatus & GetInstanceStatus() const
bool InboundCallsEnabledHasBeenSet() const
bool StatusReasonHasBeenSet() const
void SetServiceRole(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue