AWS SDK for C++  1.9.154
AWS SDK for C++
AccountModification.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace WorkSpaces
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const DedicatedTenancyModificationStateEnum& GetModificationState() const{ return m_modificationState; }
48 
52  inline bool ModificationStateHasBeenSet() const { return m_modificationStateHasBeenSet; }
53 
57  inline void SetModificationState(const DedicatedTenancyModificationStateEnum& value) { m_modificationStateHasBeenSet = true; m_modificationState = value; }
58 
62  inline void SetModificationState(DedicatedTenancyModificationStateEnum&& value) { m_modificationStateHasBeenSet = true; m_modificationState = std::move(value); }
63 
67  inline AccountModification& WithModificationState(const DedicatedTenancyModificationStateEnum& value) { SetModificationState(value); return *this;}
68 
72  inline AccountModification& WithModificationState(DedicatedTenancyModificationStateEnum&& value) { SetModificationState(std::move(value)); return *this;}
73 
74 
78  inline const DedicatedTenancySupportResultEnum& GetDedicatedTenancySupport() const{ return m_dedicatedTenancySupport; }
79 
83  inline bool DedicatedTenancySupportHasBeenSet() const { return m_dedicatedTenancySupportHasBeenSet; }
84 
88  inline void SetDedicatedTenancySupport(const DedicatedTenancySupportResultEnum& value) { m_dedicatedTenancySupportHasBeenSet = true; m_dedicatedTenancySupport = value; }
89 
93  inline void SetDedicatedTenancySupport(DedicatedTenancySupportResultEnum&& value) { m_dedicatedTenancySupportHasBeenSet = true; m_dedicatedTenancySupport = std::move(value); }
94 
98  inline AccountModification& WithDedicatedTenancySupport(const DedicatedTenancySupportResultEnum& value) { SetDedicatedTenancySupport(value); return *this;}
99 
103  inline AccountModification& WithDedicatedTenancySupport(DedicatedTenancySupportResultEnum&& value) { SetDedicatedTenancySupport(std::move(value)); return *this;}
104 
105 
110  inline const Aws::String& GetDedicatedTenancyManagementCidrRange() const{ return m_dedicatedTenancyManagementCidrRange; }
111 
116  inline bool DedicatedTenancyManagementCidrRangeHasBeenSet() const { return m_dedicatedTenancyManagementCidrRangeHasBeenSet; }
117 
122  inline void SetDedicatedTenancyManagementCidrRange(const Aws::String& value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange = value; }
123 
128  inline void SetDedicatedTenancyManagementCidrRange(Aws::String&& value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange = std::move(value); }
129 
134  inline void SetDedicatedTenancyManagementCidrRange(const char* value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange.assign(value); }
135 
140  inline AccountModification& WithDedicatedTenancyManagementCidrRange(const Aws::String& value) { SetDedicatedTenancyManagementCidrRange(value); return *this;}
141 
146  inline AccountModification& WithDedicatedTenancyManagementCidrRange(Aws::String&& value) { SetDedicatedTenancyManagementCidrRange(std::move(value)); return *this;}
147 
152  inline AccountModification& WithDedicatedTenancyManagementCidrRange(const char* value) { SetDedicatedTenancyManagementCidrRange(value); return *this;}
153 
154 
159  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
160 
165  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
166 
171  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
172 
177  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
178 
183  inline AccountModification& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
184 
189  inline AccountModification& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
190 
191 
196  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
197 
202  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
203 
208  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
209 
214  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
215 
220  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
221 
226  inline AccountModification& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
227 
232  inline AccountModification& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
233 
238  inline AccountModification& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
239 
240 
245  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
246 
251  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
252 
257  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
258 
263  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
264 
269  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
270 
275  inline AccountModification& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
276 
281  inline AccountModification& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
282 
287  inline AccountModification& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
288 
289  private:
290 
291  DedicatedTenancyModificationStateEnum m_modificationState;
292  bool m_modificationStateHasBeenSet;
293 
294  DedicatedTenancySupportResultEnum m_dedicatedTenancySupport;
295  bool m_dedicatedTenancySupportHasBeenSet;
296 
297  Aws::String m_dedicatedTenancyManagementCidrRange;
298  bool m_dedicatedTenancyManagementCidrRangeHasBeenSet;
299 
300  Aws::Utils::DateTime m_startTime;
301  bool m_startTimeHasBeenSet;
302 
303  Aws::String m_errorCode;
304  bool m_errorCodeHasBeenSet;
305 
306  Aws::String m_errorMessage;
307  bool m_errorMessageHasBeenSet;
308  };
309 
310 } // namespace Model
311 } // namespace WorkSpaces
312 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WorkSpaces::Model::AccountModification::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: AccountModification.h:177
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::AccountModification::SetModificationState
void SetModificationState(DedicatedTenancyModificationStateEnum &&value)
Definition: AccountModification.h:62
DedicatedTenancyModificationStateEnum.h
Aws::WorkSpaces::Model::AccountModification::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: AccountModification.h:245
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::AccountModification::DedicatedTenancyManagementCidrRangeHasBeenSet
bool DedicatedTenancyManagementCidrRangeHasBeenSet() const
Definition: AccountModification.h:116
Aws::WorkSpaces::Model::AccountModification::SetModificationState
void SetModificationState(const DedicatedTenancyModificationStateEnum &value)
Definition: AccountModification.h:57
Aws::WorkSpaces::Model::AccountModification::WithDedicatedTenancySupport
AccountModification & WithDedicatedTenancySupport(DedicatedTenancySupportResultEnum &&value)
Definition: AccountModification.h:103
DateTime.h
Aws::WorkSpaces::Model::AccountModification::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: AccountModification.h:208
Aws::WorkSpaces::Model::AccountModification::SetDedicatedTenancySupport
void SetDedicatedTenancySupport(DedicatedTenancySupportResultEnum &&value)
Definition: AccountModification.h:93
Aws::WorkSpaces::Model::AccountModification::SetDedicatedTenancySupport
void SetDedicatedTenancySupport(const DedicatedTenancySupportResultEnum &value)
Definition: AccountModification.h:88
Aws::WorkSpaces::Model::AccountModification::WithErrorCode
AccountModification & WithErrorCode(const Aws::String &value)
Definition: AccountModification.h:226
Aws::WorkSpaces::Model::AccountModification::WithErrorMessage
AccountModification & WithErrorMessage(const char *value)
Definition: AccountModification.h:287
Aws::WorkSpaces::Model::AccountModification::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: AccountModification.h:257
Aws::WorkSpaces::Model::AccountModification::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: AccountModification.h:269
Aws::WorkSpaces::Model::AccountModification::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: AccountModification.h:251
Aws::WorkSpaces::Model::AccountModification::WithStartTime
AccountModification & WithStartTime(const Aws::Utils::DateTime &value)
Definition: AccountModification.h:183
Aws::WorkSpaces::Model::AccountModification::ModificationStateHasBeenSet
bool ModificationStateHasBeenSet() const
Definition: AccountModification.h:52
Aws::WorkSpaces::Model::AccountModification::AccountModification
AccountModification()
DedicatedTenancySupportResultEnum.h
Aws::WorkSpaces::Model::AccountModification::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: AccountModification.h:196
Aws::WorkSpaces::Model::AccountModification::WithStartTime
AccountModification & WithStartTime(Aws::Utils::DateTime &&value)
Definition: AccountModification.h:189
Aws::WorkSpaces::Model::AccountModification
Definition: AccountModification.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::WorkSpaces::Model::AccountModification::WithErrorMessage
AccountModification & WithErrorMessage(Aws::String &&value)
Definition: AccountModification.h:281
AWSString.h
Aws::WorkSpaces::Model::AccountModification::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: AccountModification.h:263
Aws::WorkSpaces::Model::AccountModification::SetDedicatedTenancyManagementCidrRange
void SetDedicatedTenancyManagementCidrRange(const Aws::String &value)
Definition: AccountModification.h:122
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkSpaces::Model::AccountModification::AccountModification
AccountModification(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkSpaces::Model::AccountModification::GetDedicatedTenancySupport
const DedicatedTenancySupportResultEnum & GetDedicatedTenancySupport() const
Definition: AccountModification.h:78
Aws::WorkSpaces::Model::DedicatedTenancyModificationStateEnum
DedicatedTenancyModificationStateEnum
Definition: DedicatedTenancyModificationStateEnum.h:17
Aws::WorkSpaces::Model::AccountModification::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: AccountModification.h:165
Aws::WorkSpaces::Model::AccountModification::DedicatedTenancySupportHasBeenSet
bool DedicatedTenancySupportHasBeenSet() const
Definition: AccountModification.h:83
Aws::WorkSpaces::Model::AccountModification::SetDedicatedTenancyManagementCidrRange
void SetDedicatedTenancyManagementCidrRange(const char *value)
Definition: AccountModification.h:134
Aws::WorkSpaces::Model::AccountModification::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: AccountModification.h:159
Aws::WorkSpaces::Model::AccountModification::WithErrorMessage
AccountModification & WithErrorMessage(const Aws::String &value)
Definition: AccountModification.h:275
Aws::WorkSpaces::Model::AccountModification::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: AccountModification.h:214
Aws::WorkSpaces::Model::AccountModification::SetDedicatedTenancyManagementCidrRange
void SetDedicatedTenancyManagementCidrRange(Aws::String &&value)
Definition: AccountModification.h:128
Aws::WorkSpaces::Model::AccountModification::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: AccountModification.h:202
Aws::WorkSpaces::Model::AccountModification::operator=
AccountModification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkSpaces::Model::AccountModification::SetErrorCode
void SetErrorCode(const char *value)
Definition: AccountModification.h:220
Aws::WorkSpaces::Model::AccountModification::WithModificationState
AccountModification & WithModificationState(DedicatedTenancyModificationStateEnum &&value)
Definition: AccountModification.h:72
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::WorkSpaces::Model::AccountModification::WithModificationState
AccountModification & WithModificationState(const DedicatedTenancyModificationStateEnum &value)
Definition: AccountModification.h:67
Aws::WorkSpaces::Model::AccountModification::GetModificationState
const DedicatedTenancyModificationStateEnum & GetModificationState() const
Definition: AccountModification.h:47
Aws::WorkSpaces::Model::AccountModification::WithErrorCode
AccountModification & WithErrorCode(const char *value)
Definition: AccountModification.h:238
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::DedicatedTenancySupportResultEnum
DedicatedTenancySupportResultEnum
Definition: DedicatedTenancySupportResultEnum.h:17
Aws::WorkSpaces::Model::AccountModification::WithDedicatedTenancySupport
AccountModification & WithDedicatedTenancySupport(const DedicatedTenancySupportResultEnum &value)
Definition: AccountModification.h:98
Aws::WorkSpaces::Model::AccountModification::GetDedicatedTenancyManagementCidrRange
const Aws::String & GetDedicatedTenancyManagementCidrRange() const
Definition: AccountModification.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::AccountModification::WithDedicatedTenancyManagementCidrRange
AccountModification & WithDedicatedTenancyManagementCidrRange(Aws::String &&value)
Definition: AccountModification.h:146
Aws::WorkSpaces::Model::AccountModification::WithDedicatedTenancyManagementCidrRange
AccountModification & WithDedicatedTenancyManagementCidrRange(const char *value)
Definition: AccountModification.h:152
Aws::WorkSpaces::Model::AccountModification::WithDedicatedTenancyManagementCidrRange
AccountModification & WithDedicatedTenancyManagementCidrRange(const Aws::String &value)
Definition: AccountModification.h:140
Aws::WorkSpaces::Model::AccountModification::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: AccountModification.h:171
Aws::WorkSpaces::Model::AccountModification::WithErrorCode
AccountModification & WithErrorCode(Aws::String &&value)
Definition: AccountModification.h:232
Aws::WorkSpaces::Model::AccountModification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const