AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ClientAuthenticationSettingInfo.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/ds/DirectoryService_EXPORTS.h>
9#include <aws/ds/model/ClientAuthenticationStatus.h>
10#include <aws/ds/model/ClientAuthenticationType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DirectoryService {
22namespace Model {
23
31 public:
32 AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo() = default;
35 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline ClientAuthenticationType GetType() const { return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 inline void SetType(ClientAuthenticationType value) {
46 m_typeHasBeenSet = true;
47 m_type = value;
48 }
50 SetType(value);
51 return *this;
52 }
54
56
60 inline ClientAuthenticationStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 m_statusHasBeenSet = true;
64 m_status = value;
65 }
67 SetStatus(value);
68 return *this;
69 }
71
73
77 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
78 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
79 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
80 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
81 m_lastUpdatedDateTimeHasBeenSet = true;
82 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
83 }
84 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
86 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
87 return *this;
88 }
90 private:
92
94
95 Aws::Utils::DateTime m_lastUpdatedDateTime{};
96 bool m_typeHasBeenSet = false;
97 bool m_statusHasBeenSet = false;
98 bool m_lastUpdatedDateTimeHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace DirectoryService
103} // namespace Aws
AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo()=default
ClientAuthenticationSettingInfo & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ClientAuthenticationSettingInfo & WithStatus(ClientAuthenticationStatus value)
AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo(Aws::Utils::Json::JsonView jsonValue)
ClientAuthenticationSettingInfo & WithType(ClientAuthenticationType value)
Aws::Utils::Json::JsonValue JsonValue