AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
ClientAuthenticationSettingInfo.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/ClientAuthenticationStatus.h>
11#include <aws/ds/model/ClientAuthenticationType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace DirectoryService {
22namespace Model {
23
31 public:
32 AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo() = default;
33 AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_DIRECTORYSERVICE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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()=default
AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ClientAuthenticationSettingInfo & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
ClientAuthenticationSettingInfo & WithStatus(ClientAuthenticationStatus value)
AWS_DIRECTORYSERVICE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_DIRECTORYSERVICE_API ClientAuthenticationSettingInfo(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ClientAuthenticationSettingInfo & WithType(ClientAuthenticationType value)