7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
67 template <
typename ArnT = Aws::String>
69 m_arnHasBeenSet =
true;
70 m_arn = std::forward<ArnT>(value);
72 template <
typename ArnT = Aws::String>
74 SetArn(std::forward<ArnT>(value));
85 template <
typename NameT = Aws::String>
87 m_nameHasBeenSet =
true;
88 m_name = std::forward<NameT>(value);
90 template <
typename NameT = Aws::String>
92 SetName(std::forward<NameT>(value));
103 template <
typename DescriptionT = Aws::String>
105 m_descriptionHasBeenSet =
true;
106 m_description = std::forward<DescriptionT>(value);
108 template <
typename DescriptionT = Aws::String>
126 template <
typename AllowedIpsT = Aws::Vector<Aws::String>>
128 m_allowedIpsHasBeenSet =
true;
129 m_allowedIps = std::forward<AllowedIpsT>(value);
131 template <
typename AllowedIpsT = Aws::Vector<Aws::String>>
136 template <
typename AllowedIpsT = Aws::String>
138 m_allowedIpsHasBeenSet =
true;
139 m_allowedIps.emplace_back(std::forward<AllowedIpsT>(value));
155 template <
typename BlockedIpsT = Aws::Vector<Aws::String>>
157 m_blockedIpsHasBeenSet =
true;
158 m_blockedIps = std::forward<BlockedIpsT>(value);
160 template <
typename BlockedIpsT = Aws::Vector<Aws::String>>
165 template <
typename BlockedIpsT = Aws::String>
167 m_blockedIpsHasBeenSet =
true;
168 m_blockedIps.emplace_back(std::forward<BlockedIpsT>(value));
183 m_isDefaultHasBeenSet =
true;
198 template <
typename CreatedTimeT = Aws::Utils::DateTime>
200 m_createdTimeHasBeenSet =
true;
201 m_createdTime = std::forward<CreatedTimeT>(value);
203 template <
typename CreatedTimeT = Aws::Utils::DateTime>
216 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
218 m_lastModifiedTimeHasBeenSet =
true;
219 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
221 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
235 template <
typename LastModifiedRegionT = Aws::String>
237 m_lastModifiedRegionHasBeenSet =
true;
238 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
240 template <
typename LastModifiedRegionT = Aws::String>
258 m_maxSessionDurationHasBeenSet =
true;
259 m_maxSessionDuration = value;
275 m_sessionInactivityDurationHasBeenSet =
true;
276 m_sessionInactivityDuration = value;
291 m_sessionInactivityHandlingEnabledHasBeenSet =
true;
292 m_sessionInactivityHandlingEnabled = value;
312 bool m_isDefault{
false};
320 int m_maxSessionDuration{0};
322 int m_sessionInactivityDuration{0};
324 bool m_sessionInactivityHandlingEnabled{
false};
325 bool m_idHasBeenSet =
false;
326 bool m_arnHasBeenSet =
false;
327 bool m_nameHasBeenSet =
false;
328 bool m_descriptionHasBeenSet =
false;
329 bool m_allowedIpsHasBeenSet =
false;
330 bool m_blockedIpsHasBeenSet =
false;
331 bool m_isDefaultHasBeenSet =
false;
332 bool m_createdTimeHasBeenSet =
false;
333 bool m_lastModifiedTimeHasBeenSet =
false;
334 bool m_lastModifiedRegionHasBeenSet =
false;
335 bool m_maxSessionDurationHasBeenSet =
false;
336 bool m_sessionInactivityDurationHasBeenSet =
false;
337 bool m_sessionInactivityHandlingEnabledHasBeenSet =
false;
bool MaxSessionDurationHasBeenSet() const
bool IdHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetName() const
AuthenticationProfile & WithSessionInactivityDuration(int value)
AuthenticationProfile & WithMaxSessionDuration(int value)
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)
int GetSessionInactivityDuration() const
bool DescriptionHasBeenSet() const
void SetSessionInactivityHandlingEnabled(bool value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
AuthenticationProfile & WithSessionInactivityHandlingEnabled(bool 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)
bool SessionInactivityDurationHasBeenSet() const
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 GetSessionInactivityHandlingEnabled() const
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 SessionInactivityHandlingEnabledHasBeenSet() const
bool CreatedTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedIps() const
AuthenticationProfile & WithLastModifiedRegion(LastModifiedRegionT &&value)
void SetSessionInactivityDuration(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
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