AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SettingEntry.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/model/DirectoryConfigurationStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DirectoryService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DIRECTORYSERVICE_API SettingEntry() = default;
39 AWS_DIRECTORYSERVICE_API SettingEntry(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DIRECTORYSERVICE_API SettingEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetType() const { return m_type; }
51 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
52 template<typename TypeT = Aws::String>
53 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
54 template<typename TypeT = Aws::String>
55 SettingEntry& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
57
59
63 inline const Aws::String& GetName() const { return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 SettingEntry& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
76 inline const Aws::String& GetAllowedValues() const { return m_allowedValues; }
77 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
78 template<typename AllowedValuesT = Aws::String>
79 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::forward<AllowedValuesT>(value); }
80 template<typename AllowedValuesT = Aws::String>
81 SettingEntry& WithAllowedValues(AllowedValuesT&& value) { SetAllowedValues(std::forward<AllowedValuesT>(value)); return *this;}
83
85
88 inline const Aws::String& GetAppliedValue() const { return m_appliedValue; }
89 inline bool AppliedValueHasBeenSet() const { return m_appliedValueHasBeenSet; }
90 template<typename AppliedValueT = Aws::String>
91 void SetAppliedValue(AppliedValueT&& value) { m_appliedValueHasBeenSet = true; m_appliedValue = std::forward<AppliedValueT>(value); }
92 template<typename AppliedValueT = Aws::String>
93 SettingEntry& WithAppliedValue(AppliedValueT&& value) { SetAppliedValue(std::forward<AppliedValueT>(value)); return *this;}
95
97
100 inline const Aws::String& GetRequestedValue() const { return m_requestedValue; }
101 inline bool RequestedValueHasBeenSet() const { return m_requestedValueHasBeenSet; }
102 template<typename RequestedValueT = Aws::String>
103 void SetRequestedValue(RequestedValueT&& value) { m_requestedValueHasBeenSet = true; m_requestedValue = std::forward<RequestedValueT>(value); }
104 template<typename RequestedValueT = Aws::String>
105 SettingEntry& WithRequestedValue(RequestedValueT&& value) { SetRequestedValue(std::forward<RequestedValueT>(value)); return *this;}
107
109
114 inline DirectoryConfigurationStatus GetRequestStatus() const { return m_requestStatus; }
115 inline bool RequestStatusHasBeenSet() const { return m_requestStatusHasBeenSet; }
116 inline void SetRequestStatus(DirectoryConfigurationStatus value) { m_requestStatusHasBeenSet = true; m_requestStatus = value; }
119
121
126 inline const Aws::Map<Aws::String, DirectoryConfigurationStatus>& GetRequestDetailedStatus() const { return m_requestDetailedStatus; }
127 inline bool RequestDetailedStatusHasBeenSet() const { return m_requestDetailedStatusHasBeenSet; }
128 template<typename RequestDetailedStatusT = Aws::Map<Aws::String, DirectoryConfigurationStatus>>
129 void SetRequestDetailedStatus(RequestDetailedStatusT&& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus = std::forward<RequestDetailedStatusT>(value); }
130 template<typename RequestDetailedStatusT = Aws::Map<Aws::String, DirectoryConfigurationStatus>>
131 SettingEntry& WithRequestDetailedStatus(RequestDetailedStatusT&& value) { SetRequestDetailedStatus(std::forward<RequestDetailedStatusT>(value)); return *this;}
133 m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus.emplace(key, value); return *this;
134 }
136
138
141 inline const Aws::String& GetRequestStatusMessage() const { return m_requestStatusMessage; }
142 inline bool RequestStatusMessageHasBeenSet() const { return m_requestStatusMessageHasBeenSet; }
143 template<typename RequestStatusMessageT = Aws::String>
144 void SetRequestStatusMessage(RequestStatusMessageT&& value) { m_requestStatusMessageHasBeenSet = true; m_requestStatusMessage = std::forward<RequestStatusMessageT>(value); }
145 template<typename RequestStatusMessageT = Aws::String>
146 SettingEntry& WithRequestStatusMessage(RequestStatusMessageT&& value) { SetRequestStatusMessage(std::forward<RequestStatusMessageT>(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
154 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
155 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
156 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
157 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
158 SettingEntry& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
160
162
166 inline const Aws::Utils::DateTime& GetLastRequestedDateTime() const { return m_lastRequestedDateTime; }
167 inline bool LastRequestedDateTimeHasBeenSet() const { return m_lastRequestedDateTimeHasBeenSet; }
168 template<typename LastRequestedDateTimeT = Aws::Utils::DateTime>
169 void SetLastRequestedDateTime(LastRequestedDateTimeT&& value) { m_lastRequestedDateTimeHasBeenSet = true; m_lastRequestedDateTime = std::forward<LastRequestedDateTimeT>(value); }
170 template<typename LastRequestedDateTimeT = Aws::Utils::DateTime>
171 SettingEntry& WithLastRequestedDateTime(LastRequestedDateTimeT&& value) { SetLastRequestedDateTime(std::forward<LastRequestedDateTimeT>(value)); return *this;}
173
175
180 inline const Aws::String& GetDataType() const { return m_dataType; }
181 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
182 template<typename DataTypeT = Aws::String>
183 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::forward<DataTypeT>(value); }
184 template<typename DataTypeT = Aws::String>
185 SettingEntry& WithDataType(DataTypeT&& value) { SetDataType(std::forward<DataTypeT>(value)); return *this;}
187 private:
188
189 Aws::String m_type;
190 bool m_typeHasBeenSet = false;
191
192 Aws::String m_name;
193 bool m_nameHasBeenSet = false;
194
195 Aws::String m_allowedValues;
196 bool m_allowedValuesHasBeenSet = false;
197
198 Aws::String m_appliedValue;
199 bool m_appliedValueHasBeenSet = false;
200
201 Aws::String m_requestedValue;
202 bool m_requestedValueHasBeenSet = false;
203
205 bool m_requestStatusHasBeenSet = false;
206
208 bool m_requestDetailedStatusHasBeenSet = false;
209
210 Aws::String m_requestStatusMessage;
211 bool m_requestStatusMessageHasBeenSet = false;
212
213 Aws::Utils::DateTime m_lastUpdatedDateTime{};
214 bool m_lastUpdatedDateTimeHasBeenSet = false;
215
216 Aws::Utils::DateTime m_lastRequestedDateTime{};
217 bool m_lastRequestedDateTimeHasBeenSet = false;
218
219 Aws::String m_dataType;
220 bool m_dataTypeHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace DirectoryService
225} // namespace Aws
void SetAllowedValues(AllowedValuesT &&value)
const Aws::String & GetAllowedValues() const
SettingEntry & WithAllowedValues(AllowedValuesT &&value)
const Aws::String & GetRequestedValue() const
SettingEntry & WithRequestStatusMessage(RequestStatusMessageT &&value)
const Aws::String & GetType() const
const Aws::Utils::DateTime & GetLastRequestedDateTime() const
SettingEntry & WithRequestStatus(DirectoryConfigurationStatus value)
bool RequestedValueHasBeenSet() const
bool NameHasBeenSet() const
void SetRequestStatusMessage(RequestStatusMessageT &&value)
void SetRequestedValue(RequestedValueT &&value)
bool AppliedValueHasBeenSet() const
const Aws::String & GetAppliedValue() const
bool TypeHasBeenSet() const
SettingEntry & WithDataType(DataTypeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool AllowedValuesHasBeenSet() const
bool DataTypeHasBeenSet() const
SettingEntry & AddRequestDetailedStatus(Aws::String key, DirectoryConfigurationStatus value)
bool RequestStatusHasBeenSet() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SettingEntry & WithAppliedValue(AppliedValueT &&value)
DirectoryConfigurationStatus GetRequestStatus() const
void SetType(TypeT &&value)
AWS_DIRECTORYSERVICE_API SettingEntry(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
SettingEntry & WithRequestDetailedStatus(RequestDetailedStatusT &&value)
AWS_DIRECTORYSERVICE_API SettingEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
SettingEntry & WithLastRequestedDateTime(LastRequestedDateTimeT &&value)
const Aws::Map< Aws::String, DirectoryConfigurationStatus > & GetRequestDetailedStatus() const
SettingEntry & WithType(TypeT &&value)
SettingEntry & WithRequestedValue(RequestedValueT &&value)
bool LastRequestedDateTimeHasBeenSet() const
void SetAppliedValue(AppliedValueT &&value)
SettingEntry & WithName(NameT &&value)
void SetDataType(DataTypeT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
SettingEntry & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetRequestStatus(DirectoryConfigurationStatus value)
const Aws::String & GetRequestStatusMessage() const
void SetLastRequestedDateTime(LastRequestedDateTimeT &&value)
bool RequestDetailedStatusHasBeenSet() const
void SetRequestDetailedStatus(RequestDetailedStatusT &&value)
bool RequestStatusMessageHasBeenSet() const
const Aws::String & GetDataType() const
bool LastUpdatedDateTimeHasBeenSet() const
AWS_DIRECTORYSERVICE_API SettingEntry()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue