AWS SDK for C++  1.8.152
AWS SDK for C++
LDAPSSettingInfo.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectoryService
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const LDAPSStatus& GetLDAPSStatus() const{ return m_lDAPSStatus; }
47 
51  inline bool LDAPSStatusHasBeenSet() const { return m_lDAPSStatusHasBeenSet; }
52 
56  inline void SetLDAPSStatus(const LDAPSStatus& value) { m_lDAPSStatusHasBeenSet = true; m_lDAPSStatus = value; }
57 
61  inline void SetLDAPSStatus(LDAPSStatus&& value) { m_lDAPSStatusHasBeenSet = true; m_lDAPSStatus = std::move(value); }
62 
66  inline LDAPSSettingInfo& WithLDAPSStatus(const LDAPSStatus& value) { SetLDAPSStatus(value); return *this;}
67 
71  inline LDAPSSettingInfo& WithLDAPSStatus(LDAPSStatus&& value) { SetLDAPSStatus(std::move(value)); return *this;}
72 
73 
77  inline const Aws::String& GetLDAPSStatusReason() const{ return m_lDAPSStatusReason; }
78 
82  inline bool LDAPSStatusReasonHasBeenSet() const { return m_lDAPSStatusReasonHasBeenSet; }
83 
87  inline void SetLDAPSStatusReason(const Aws::String& value) { m_lDAPSStatusReasonHasBeenSet = true; m_lDAPSStatusReason = value; }
88 
92  inline void SetLDAPSStatusReason(Aws::String&& value) { m_lDAPSStatusReasonHasBeenSet = true; m_lDAPSStatusReason = std::move(value); }
93 
97  inline void SetLDAPSStatusReason(const char* value) { m_lDAPSStatusReasonHasBeenSet = true; m_lDAPSStatusReason.assign(value); }
98 
102  inline LDAPSSettingInfo& WithLDAPSStatusReason(const Aws::String& value) { SetLDAPSStatusReason(value); return *this;}
103 
107  inline LDAPSSettingInfo& WithLDAPSStatusReason(Aws::String&& value) { SetLDAPSStatusReason(std::move(value)); return *this;}
108 
112  inline LDAPSSettingInfo& WithLDAPSStatusReason(const char* value) { SetLDAPSStatusReason(value); return *this;}
113 
114 
118  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
119 
123  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
124 
128  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
129 
133  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
134 
138  inline LDAPSSettingInfo& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
139 
143  inline LDAPSSettingInfo& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
144 
145  private:
146 
147  LDAPSStatus m_lDAPSStatus;
148  bool m_lDAPSStatusHasBeenSet;
149 
150  Aws::String m_lDAPSStatusReason;
151  bool m_lDAPSStatusReasonHasBeenSet;
152 
153  Aws::Utils::DateTime m_lastUpdatedDateTime;
154  bool m_lastUpdatedDateTimeHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace DirectoryService
159 } // namespace Aws
Aws::DirectoryService::Model::LDAPSSettingInfo::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: LDAPSSettingInfo.h:118
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DirectoryService::Model::LDAPSStatus
LDAPSStatus
Definition: LDAPSStatus.h:17
Aws::DirectoryService::Model::LDAPSSettingInfo::SetLDAPSStatusReason
void SetLDAPSStatusReason(Aws::String &&value)
Definition: LDAPSSettingInfo.h:92
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::LDAPSSettingInfo::WithLDAPSStatusReason
LDAPSSettingInfo & WithLDAPSStatusReason(const Aws::String &value)
Definition: LDAPSSettingInfo.h:102
Aws::DirectoryService::Model::LDAPSSettingInfo::GetLDAPSStatusReason
const Aws::String & GetLDAPSStatusReason() const
Definition: LDAPSSettingInfo.h:77
Aws::DirectoryService::Model::LDAPSSettingInfo::WithLDAPSStatusReason
LDAPSSettingInfo & WithLDAPSStatusReason(Aws::String &&value)
Definition: LDAPSSettingInfo.h:107
DateTime.h
Aws::DirectoryService::Model::LDAPSSettingInfo::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: LDAPSSettingInfo.h:123
Aws::DirectoryService::Model::LDAPSSettingInfo::WithLDAPSStatus
LDAPSSettingInfo & WithLDAPSStatus(const LDAPSStatus &value)
Definition: LDAPSSettingInfo.h:66
Aws::DirectoryService::Model::LDAPSSettingInfo::GetLDAPSStatus
const LDAPSStatus & GetLDAPSStatus() const
Definition: LDAPSSettingInfo.h:46
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::LDAPSSettingInfo::SetLDAPSStatus
void SetLDAPSStatus(LDAPSStatus &&value)
Definition: LDAPSSettingInfo.h:61
Aws::DirectoryService::Model::LDAPSSettingInfo::operator=
LDAPSSettingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::LDAPSSettingInfo::LDAPSStatusHasBeenSet
bool LDAPSStatusHasBeenSet() const
Definition: LDAPSSettingInfo.h:51
Aws::DirectoryService::Model::LDAPSSettingInfo::WithLDAPSStatus
LDAPSSettingInfo & WithLDAPSStatus(LDAPSStatus &&value)
Definition: LDAPSSettingInfo.h:71
LDAPSStatus.h
Aws::DirectoryService::Model::LDAPSSettingInfo
Definition: LDAPSSettingInfo.h:35
Aws::DirectoryService::Model::LDAPSSettingInfo::SetLDAPSStatus
void SetLDAPSStatus(const LDAPSStatus &value)
Definition: LDAPSSettingInfo.h:56
Aws::DirectoryService::Model::LDAPSSettingInfo::WithLDAPSStatusReason
LDAPSSettingInfo & WithLDAPSStatusReason(const char *value)
Definition: LDAPSSettingInfo.h:112
Aws::DirectoryService::Model::LDAPSSettingInfo::WithLastUpdatedDateTime
LDAPSSettingInfo & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: LDAPSSettingInfo.h:138
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::DirectoryService::Model::LDAPSSettingInfo::LDAPSSettingInfo
LDAPSSettingInfo()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::LDAPSSettingInfo::LDAPSSettingInfo
LDAPSSettingInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::LDAPSSettingInfo::SetLDAPSStatusReason
void SetLDAPSStatusReason(const char *value)
Definition: LDAPSSettingInfo.h:97
Aws::DirectoryService::Model::LDAPSSettingInfo::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: LDAPSSettingInfo.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::LDAPSSettingInfo::WithLastUpdatedDateTime
LDAPSSettingInfo & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: LDAPSSettingInfo.h:143
Aws::DirectoryService::Model::LDAPSSettingInfo::LDAPSStatusReasonHasBeenSet
bool LDAPSStatusReasonHasBeenSet() const
Definition: LDAPSSettingInfo.h:82
Aws::DirectoryService::Model::LDAPSSettingInfo::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: LDAPSSettingInfo.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::LDAPSSettingInfo::SetLDAPSStatusReason
void SetLDAPSStatusReason(const Aws::String &value)
Definition: LDAPSSettingInfo.h:87
Aws::DirectoryService::Model::LDAPSSettingInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const