7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
55 template<
typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
57 template<
typename IdT = Aws::String>
67 template<
typename ArnT = Aws::String>
68 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
69 template<
typename ArnT = Aws::String>
79 template<
typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
81 template<
typename NameT = Aws::String>
91 template<
typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
93 template<
typename DescriptionT = Aws::String>
108 template<
typename AllowedIpsT = Aws::Vector<Aws::String>>
109 void SetAllowedIps(AllowedIpsT&& value) { m_allowedIpsHasBeenSet =
true; m_allowedIps = std::forward<AllowedIpsT>(value); }
110 template<
typename AllowedIpsT = Aws::Vector<Aws::String>>
112 template<
typename AllowedIpsT = Aws::String>
127 template<
typename BlockedIpsT = Aws::Vector<Aws::String>>
128 void SetBlockedIps(BlockedIpsT&& value) { m_blockedIpsHasBeenSet =
true; m_blockedIps = std::forward<BlockedIpsT>(value); }
129 template<
typename BlockedIpsT = Aws::Vector<Aws::String>>
131 template<
typename BlockedIpsT = Aws::String>
144 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
154 template<
typename CreatedTimeT = Aws::Utils::DateTime>
155 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
156 template<
typename CreatedTimeT = Aws::Utils::DateTime>
166 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
167 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
168 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
179 template<
typename LastModifiedRegionT = Aws::String>
180 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
181 template<
typename LastModifiedRegionT = Aws::String>
209 inline void SetMaxSessionDuration(
int value) { m_maxSessionDurationHasBeenSet =
true; m_maxSessionDuration = value; }
215 bool m_idHasBeenSet =
false;
218 bool m_arnHasBeenSet =
false;
221 bool m_nameHasBeenSet =
false;
224 bool m_descriptionHasBeenSet =
false;
227 bool m_allowedIpsHasBeenSet =
false;
230 bool m_blockedIpsHasBeenSet =
false;
232 bool m_isDefault{
false};
233 bool m_isDefaultHasBeenSet =
false;
236 bool m_createdTimeHasBeenSet =
false;
239 bool m_lastModifiedTimeHasBeenSet =
false;
242 bool m_lastModifiedRegionHasBeenSet =
false;
244 int m_periodicSessionDuration{0};
245 bool m_periodicSessionDurationHasBeenSet =
false;
247 int m_maxSessionDuration{0};
248 bool m_maxSessionDurationHasBeenSet =
false;
bool MaxSessionDurationHasBeenSet() const
bool IdHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetName() const
AuthenticationProfile & WithMaxSessionDuration(int value)
bool PeriodicSessionDurationHasBeenSet() const
AuthenticationProfile & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetAllowedIps(AllowedIpsT &&value)
void SetMaxSessionDuration(int value)
const Aws::Vector< Aws::String > & GetBlockedIps() const
AuthenticationProfile & AddBlockedIps(BlockedIpsT &&value)
bool AllowedIpsHasBeenSet() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
AuthenticationProfile & WithPeriodicSessionDuration(int value)
AuthenticationProfile & WithCreatedTime(CreatedTimeT &&value)
AuthenticationProfile & AddAllowedIps(AllowedIpsT &&value)
int GetMaxSessionDuration() const
const Aws::String & GetId() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetBlockedIps(BlockedIpsT &&value)
bool LastModifiedRegionHasBeenSet() const
AuthenticationProfile & WithArn(ArnT &&value)
AuthenticationProfile & WithId(IdT &&value)
AuthenticationProfile & WithIsDefault(bool value)
AWS_CONNECT_API AuthenticationProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API AuthenticationProfile(Aws::Utils::Json::JsonView jsonValue)
AuthenticationProfile & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AuthenticationProfile & WithBlockedIps(BlockedIpsT &&value)
bool GetIsDefault() const
AuthenticationProfile & WithAllowedIps(AllowedIpsT &&value)
const Aws::String & GetLastModifiedRegion() const
AuthenticationProfile & WithName(NameT &&value)
void SetIsDefault(bool value)
void SetName(NameT &&value)
bool CreatedTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedIps() const
AuthenticationProfile & WithLastModifiedRegion(LastModifiedRegionT &&value)
int GetPeriodicSessionDuration() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPeriodicSessionDuration(int value)
bool BlockedIpsHasBeenSet() const
const Aws::String & GetArn() const
AWS_CONNECT_API AuthenticationProfile()=default
void SetArn(ArnT &&value)
bool LastModifiedTimeHasBeenSet() const
bool ArnHasBeenSet() const
bool IsDefaultHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue