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>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
63 template<
typename ArnT = Aws::String>
83 template<
typename InstanceAliasT = Aws::String>
84 void SetInstanceAlias(InstanceAliasT&& value) { m_instanceAliasHasBeenSet =
true; m_instanceAlias = std::forward<InstanceAliasT>(value); }
85 template<
typename InstanceAliasT = Aws::String>
95 template<
typename CreatedTimeT = Aws::Utils::DateTime>
96 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
97 template<
typename CreatedTimeT = Aws::Utils::DateTime>
107 template<
typename ServiceRoleT = Aws::String>
108 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
109 template<
typename ServiceRoleT = Aws::String>
129 inline void SetInboundCallsEnabled(
bool value) { m_inboundCallsEnabledHasBeenSet =
true; m_inboundCallsEnabled = value; }
150 template<
typename InstanceAccessUrlT = Aws::String>
151 void SetInstanceAccessUrl(InstanceAccessUrlT&& value) { m_instanceAccessUrlHasBeenSet =
true; m_instanceAccessUrl = std::forward<InstanceAccessUrlT>(value); }
152 template<
typename InstanceAccessUrlT = Aws::String>
158 bool m_idHasBeenSet =
false;
161 bool m_arnHasBeenSet =
false;
164 bool m_identityManagementTypeHasBeenSet =
false;
167 bool m_instanceAliasHasBeenSet =
false;
170 bool m_createdTimeHasBeenSet =
false;
173 bool m_serviceRoleHasBeenSet =
false;
176 bool m_instanceStatusHasBeenSet =
false;
178 bool m_inboundCallsEnabled{
false};
179 bool m_inboundCallsEnabledHasBeenSet =
false;
181 bool m_outboundCallsEnabled{
false};
182 bool m_outboundCallsEnabledHasBeenSet =
false;
185 bool m_instanceAccessUrlHasBeenSet =
false;
void SetArn(ArnT &&value)
bool OutboundCallsEnabledHasBeenSet() const
bool ServiceRoleHasBeenSet() const
void SetOutboundCallsEnabled(bool value)
void SetInstanceStatus(InstanceStatus value)
InstanceSummary & WithInboundCallsEnabled(bool value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetInboundCallsEnabled(bool value)
void SetServiceRole(ServiceRoleT &&value)
AWS_CONNECT_API InstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceSummary & WithArn(ArnT &&value)
InstanceSummary & WithServiceRole(ServiceRoleT &&value)
void SetIdentityManagementType(DirectoryType value)
void SetInstanceAccessUrl(InstanceAccessUrlT &&value)
bool CreatedTimeHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
DirectoryType GetIdentityManagementType() const
InstanceSummary & WithCreatedTime(CreatedTimeT &&value)
bool InstanceStatusHasBeenSet() const
bool GetInboundCallsEnabled() const
void SetInstanceAlias(InstanceAliasT &&value)
const Aws::String & GetArn() const
const Aws::String & GetInstanceAccessUrl() const
InstanceSummary & WithId(IdT &&value)
const Aws::String & GetInstanceAlias() const
bool GetOutboundCallsEnabled() const
InstanceSummary & WithOutboundCallsEnabled(bool value)
InstanceSummary & WithInstanceAccessUrl(InstanceAccessUrlT &&value)
const Aws::String & GetId() const
bool IdHasBeenSet() const
InstanceSummary & WithInstanceAlias(InstanceAliasT &&value)
InstanceStatus GetInstanceStatus() const
bool InboundCallsEnabledHasBeenSet() const
AWS_CONNECT_API InstanceSummary()=default
const Aws::String & GetServiceRole() const
bool IdentityManagementTypeHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceSummary & WithInstanceStatus(InstanceStatus value)
AWS_CONNECT_API InstanceSummary(Aws::Utils::Json::JsonView jsonValue)
bool InstanceAliasHasBeenSet() const
bool ArnHasBeenSet() const
bool InstanceAccessUrlHasBeenSet() const
InstanceSummary & WithIdentityManagementType(DirectoryType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue