AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountModification.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/DedicatedTenancyModificationStateEnum.h>
9#include <aws/workspaces/model/DedicatedTenancySupportResultEnum.h>
10#include <aws/core/utils/memory/stl/AWSString.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 WorkSpaces
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_WORKSPACES_API AccountModification();
39 AWS_WORKSPACES_API AccountModification(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const DedicatedTenancyModificationStateEnum& GetModificationState() const{ return m_modificationState; }
49 inline bool ModificationStateHasBeenSet() const { return m_modificationStateHasBeenSet; }
50 inline void SetModificationState(const DedicatedTenancyModificationStateEnum& value) { m_modificationStateHasBeenSet = true; m_modificationState = value; }
51 inline void SetModificationState(DedicatedTenancyModificationStateEnum&& value) { m_modificationStateHasBeenSet = true; m_modificationState = std::move(value); }
55
57
60 inline const DedicatedTenancySupportResultEnum& GetDedicatedTenancySupport() const{ return m_dedicatedTenancySupport; }
61 inline bool DedicatedTenancySupportHasBeenSet() const { return m_dedicatedTenancySupportHasBeenSet; }
62 inline void SetDedicatedTenancySupport(const DedicatedTenancySupportResultEnum& value) { m_dedicatedTenancySupportHasBeenSet = true; m_dedicatedTenancySupport = value; }
63 inline void SetDedicatedTenancySupport(DedicatedTenancySupportResultEnum&& value) { m_dedicatedTenancySupportHasBeenSet = true; m_dedicatedTenancySupport = std::move(value); }
67
69
73 inline const Aws::String& GetDedicatedTenancyManagementCidrRange() const{ return m_dedicatedTenancyManagementCidrRange; }
74 inline bool DedicatedTenancyManagementCidrRangeHasBeenSet() const { return m_dedicatedTenancyManagementCidrRangeHasBeenSet; }
75 inline void SetDedicatedTenancyManagementCidrRange(const Aws::String& value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange = value; }
76 inline void SetDedicatedTenancyManagementCidrRange(Aws::String&& value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange = std::move(value); }
77 inline void SetDedicatedTenancyManagementCidrRange(const char* value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange.assign(value); }
82
84
88 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
89 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
90 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
91 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
92 inline AccountModification& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
93 inline AccountModification& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
95
97
101 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
102 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
103 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
104 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
105 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
106 inline AccountModification& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
107 inline AccountModification& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
108 inline AccountModification& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
110
112
116 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
117 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
118 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
119 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
120 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
121 inline AccountModification& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
122 inline AccountModification& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
123 inline AccountModification& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
125 private:
126
127 DedicatedTenancyModificationStateEnum m_modificationState;
128 bool m_modificationStateHasBeenSet = false;
129
130 DedicatedTenancySupportResultEnum m_dedicatedTenancySupport;
131 bool m_dedicatedTenancySupportHasBeenSet = false;
132
133 Aws::String m_dedicatedTenancyManagementCidrRange;
134 bool m_dedicatedTenancyManagementCidrRangeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_startTime;
137 bool m_startTimeHasBeenSet = false;
138
139 Aws::String m_errorCode;
140 bool m_errorCodeHasBeenSet = false;
141
142 Aws::String m_errorMessage;
143 bool m_errorMessageHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace WorkSpaces
148} // namespace Aws
void SetModificationState(const DedicatedTenancyModificationStateEnum &value)
void SetDedicatedTenancySupport(DedicatedTenancySupportResultEnum &&value)
void SetDedicatedTenancyManagementCidrRange(const Aws::String &value)
AWS_WORKSPACES_API AccountModification(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
void SetDedicatedTenancyManagementCidrRange(const char *value)
AccountModification & WithStartTime(Aws::Utils::DateTime &&value)
AccountModification & WithErrorCode(const Aws::String &value)
AccountModification & WithDedicatedTenancyManagementCidrRange(const Aws::String &value)
const DedicatedTenancyModificationStateEnum & GetModificationState() const
AccountModification & WithDedicatedTenancySupport(const DedicatedTenancySupportResultEnum &value)
void SetDedicatedTenancySupport(const DedicatedTenancySupportResultEnum &value)
void SetModificationState(DedicatedTenancyModificationStateEnum &&value)
AWS_WORKSPACES_API AccountModification & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountModification & WithModificationState(const DedicatedTenancyModificationStateEnum &value)
AccountModification & WithDedicatedTenancyManagementCidrRange(Aws::String &&value)
void SetDedicatedTenancyManagementCidrRange(Aws::String &&value)
AccountModification & WithErrorCode(Aws::String &&value)
const Aws::String & GetDedicatedTenancyManagementCidrRange() const
AccountModification & WithErrorMessage(Aws::String &&value)
AccountModification & WithDedicatedTenancyManagementCidrRange(const char *value)
const DedicatedTenancySupportResultEnum & GetDedicatedTenancySupport() const
AccountModification & WithModificationState(DedicatedTenancyModificationStateEnum &&value)
AccountModification & WithErrorMessage(const Aws::String &value)
AccountModification & WithDedicatedTenancySupport(DedicatedTenancySupportResultEnum &&value)
AccountModification & WithStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetErrorMessage(const Aws::String &value)
AccountModification & WithErrorCode(const char *value)
AccountModification & WithErrorMessage(const char *value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue