AWS SDK for C++  1.9.123
AWS SDK for C++
ModifyAccountRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WorkSpaces
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ModifyAccount"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const DedicatedTenancySupportEnum& GetDedicatedTenancySupport() const{ return m_dedicatedTenancySupport; }
42 
46  inline bool DedicatedTenancySupportHasBeenSet() const { return m_dedicatedTenancySupportHasBeenSet; }
47 
51  inline void SetDedicatedTenancySupport(const DedicatedTenancySupportEnum& value) { m_dedicatedTenancySupportHasBeenSet = true; m_dedicatedTenancySupport = value; }
52 
56  inline void SetDedicatedTenancySupport(DedicatedTenancySupportEnum&& value) { m_dedicatedTenancySupportHasBeenSet = true; m_dedicatedTenancySupport = std::move(value); }
57 
61  inline ModifyAccountRequest& WithDedicatedTenancySupport(const DedicatedTenancySupportEnum& value) { SetDedicatedTenancySupport(value); return *this;}
62 
66  inline ModifyAccountRequest& WithDedicatedTenancySupport(DedicatedTenancySupportEnum&& value) { SetDedicatedTenancySupport(std::move(value)); return *this;}
67 
68 
77  inline const Aws::String& GetDedicatedTenancyManagementCidrRange() const{ return m_dedicatedTenancyManagementCidrRange; }
78 
87  inline bool DedicatedTenancyManagementCidrRangeHasBeenSet() const { return m_dedicatedTenancyManagementCidrRangeHasBeenSet; }
88 
97  inline void SetDedicatedTenancyManagementCidrRange(const Aws::String& value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange = value; }
98 
107  inline void SetDedicatedTenancyManagementCidrRange(Aws::String&& value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange = std::move(value); }
108 
117  inline void SetDedicatedTenancyManagementCidrRange(const char* value) { m_dedicatedTenancyManagementCidrRangeHasBeenSet = true; m_dedicatedTenancyManagementCidrRange.assign(value); }
118 
127  inline ModifyAccountRequest& WithDedicatedTenancyManagementCidrRange(const Aws::String& value) { SetDedicatedTenancyManagementCidrRange(value); return *this;}
128 
137  inline ModifyAccountRequest& WithDedicatedTenancyManagementCidrRange(Aws::String&& value) { SetDedicatedTenancyManagementCidrRange(std::move(value)); return *this;}
138 
147  inline ModifyAccountRequest& WithDedicatedTenancyManagementCidrRange(const char* value) { SetDedicatedTenancyManagementCidrRange(value); return *this;}
148 
149  private:
150 
151  DedicatedTenancySupportEnum m_dedicatedTenancySupport;
152  bool m_dedicatedTenancySupportHasBeenSet;
153 
154  Aws::String m_dedicatedTenancyManagementCidrRange;
155  bool m_dedicatedTenancyManagementCidrRangeHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace WorkSpaces
160 } // namespace Aws
Aws::WorkSpaces::Model::ModifyAccountRequest::SetDedicatedTenancyManagementCidrRange
void SetDedicatedTenancyManagementCidrRange(const char *value)
Definition: ModifyAccountRequest.h:117
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::ModifyAccountRequest::GetDedicatedTenancySupport
const DedicatedTenancySupportEnum & GetDedicatedTenancySupport() const
Definition: ModifyAccountRequest.h:41
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::ModifyAccountRequest::SetDedicatedTenancyManagementCidrRange
void SetDedicatedTenancyManagementCidrRange(Aws::String &&value)
Definition: ModifyAccountRequest.h:107
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::ModifyAccountRequest::DedicatedTenancyManagementCidrRangeHasBeenSet
bool DedicatedTenancyManagementCidrRangeHasBeenSet() const
Definition: ModifyAccountRequest.h:87
Aws::WorkSpaces::Model::ModifyAccountRequest::WithDedicatedTenancySupport
ModifyAccountRequest & WithDedicatedTenancySupport(const DedicatedTenancySupportEnum &value)
Definition: ModifyAccountRequest.h:61
Aws::WorkSpaces::Model::ModifyAccountRequest::ModifyAccountRequest
ModifyAccountRequest()
Aws::WorkSpaces::Model::ModifyAccountRequest::WithDedicatedTenancyManagementCidrRange
ModifyAccountRequest & WithDedicatedTenancyManagementCidrRange(const Aws::String &value)
Definition: ModifyAccountRequest.h:127
Aws::WorkSpaces::Model::ModifyAccountRequest
Definition: ModifyAccountRequest.h:23
Aws::WorkSpaces::Model::ModifyAccountRequest::SetDedicatedTenancySupport
void SetDedicatedTenancySupport(DedicatedTenancySupportEnum &&value)
Definition: ModifyAccountRequest.h:56
Aws::WorkSpaces::Model::ModifyAccountRequest::WithDedicatedTenancyManagementCidrRange
ModifyAccountRequest & WithDedicatedTenancyManagementCidrRange(const char *value)
Definition: ModifyAccountRequest.h:147
Aws::WorkSpaces::Model::ModifyAccountRequest::DedicatedTenancySupportHasBeenSet
bool DedicatedTenancySupportHasBeenSet() const
Definition: ModifyAccountRequest.h:46
Aws::WorkSpaces::Model::DedicatedTenancySupportEnum
DedicatedTenancySupportEnum
Definition: DedicatedTenancySupportEnum.h:17
Aws::WorkSpaces::Model::ModifyAccountRequest::SerializePayload
Aws::String SerializePayload() const override
DedicatedTenancySupportEnum.h
Aws::WorkSpaces::Model::ModifyAccountRequest::SetDedicatedTenancyManagementCidrRange
void SetDedicatedTenancyManagementCidrRange(const Aws::String &value)
Definition: ModifyAccountRequest.h:97
AWSString.h
Aws::WorkSpaces::Model::ModifyAccountRequest::WithDedicatedTenancySupport
ModifyAccountRequest & WithDedicatedTenancySupport(DedicatedTenancySupportEnum &&value)
Definition: ModifyAccountRequest.h:66
Aws::WorkSpaces::Model::ModifyAccountRequest::WithDedicatedTenancyManagementCidrRange
ModifyAccountRequest & WithDedicatedTenancyManagementCidrRange(Aws::String &&value)
Definition: ModifyAccountRequest.h:137
Aws::WorkSpaces::Model::ModifyAccountRequest::GetDedicatedTenancyManagementCidrRange
const Aws::String & GetDedicatedTenancyManagementCidrRange() const
Definition: ModifyAccountRequest.h:77
Aws::WorkSpaces::Model::ModifyAccountRequest::SetDedicatedTenancySupport
void SetDedicatedTenancySupport(const DedicatedTenancySupportEnum &value)
Definition: ModifyAccountRequest.h:51
Aws::WorkSpaces::Model::ModifyAccountRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::ModifyAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyAccountRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97