AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateNetworkSiteRequest.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/PrivateNetworksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/privatenetworks/model/SitePlan.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PrivateNetworks
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PRIVATENETWORKS_API CreateNetworkSiteRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateNetworkSite"; }
33
34 AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
43 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
44 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
45 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
46 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
48 inline CreateNetworkSiteRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
49 inline CreateNetworkSiteRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
51
53
57 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
58 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
59 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
60 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
61 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
63 inline CreateNetworkSiteRequest& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
64 inline CreateNetworkSiteRequest& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
66
68
74 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
77 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
78 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
79 inline CreateNetworkSiteRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
80 inline CreateNetworkSiteRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
81 inline CreateNetworkSiteRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline CreateNetworkSiteRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline CreateNetworkSiteRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline CreateNetworkSiteRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
102 inline const Aws::String& GetNetworkArn() const{ return m_networkArn; }
103 inline bool NetworkArnHasBeenSet() const { return m_networkArnHasBeenSet; }
104 inline void SetNetworkArn(const Aws::String& value) { m_networkArnHasBeenSet = true; m_networkArn = value; }
105 inline void SetNetworkArn(Aws::String&& value) { m_networkArnHasBeenSet = true; m_networkArn = std::move(value); }
106 inline void SetNetworkArn(const char* value) { m_networkArnHasBeenSet = true; m_networkArn.assign(value); }
107 inline CreateNetworkSiteRequest& WithNetworkArn(const Aws::String& value) { SetNetworkArn(value); return *this;}
108 inline CreateNetworkSiteRequest& WithNetworkArn(Aws::String&& value) { SetNetworkArn(std::move(value)); return *this;}
109 inline CreateNetworkSiteRequest& WithNetworkArn(const char* value) { SetNetworkArn(value); return *this;}
111
113
117 inline const Aws::String& GetNetworkSiteName() const{ return m_networkSiteName; }
118 inline bool NetworkSiteNameHasBeenSet() const { return m_networkSiteNameHasBeenSet; }
119 inline void SetNetworkSiteName(const Aws::String& value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName = value; }
120 inline void SetNetworkSiteName(Aws::String&& value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName = std::move(value); }
121 inline void SetNetworkSiteName(const char* value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName.assign(value); }
122 inline CreateNetworkSiteRequest& WithNetworkSiteName(const Aws::String& value) { SetNetworkSiteName(value); return *this;}
123 inline CreateNetworkSiteRequest& WithNetworkSiteName(Aws::String&& value) { SetNetworkSiteName(std::move(value)); return *this;}
124 inline CreateNetworkSiteRequest& WithNetworkSiteName(const char* value) { SetNetworkSiteName(value); return *this;}
126
128
131 inline const SitePlan& GetPendingPlan() const{ return m_pendingPlan; }
132 inline bool PendingPlanHasBeenSet() const { return m_pendingPlanHasBeenSet; }
133 inline void SetPendingPlan(const SitePlan& value) { m_pendingPlanHasBeenSet = true; m_pendingPlan = value; }
134 inline void SetPendingPlan(SitePlan&& value) { m_pendingPlanHasBeenSet = true; m_pendingPlan = std::move(value); }
135 inline CreateNetworkSiteRequest& WithPendingPlan(const SitePlan& value) { SetPendingPlan(value); return *this;}
136 inline CreateNetworkSiteRequest& WithPendingPlan(SitePlan&& value) { SetPendingPlan(std::move(value)); return *this;}
138
140
143 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
146 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
148 inline CreateNetworkSiteRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
149 inline CreateNetworkSiteRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
150 inline CreateNetworkSiteRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline CreateNetworkSiteRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline CreateNetworkSiteRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
153 inline CreateNetworkSiteRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
154 inline CreateNetworkSiteRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
155 inline CreateNetworkSiteRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
157 private:
158
159 Aws::String m_availabilityZone;
160 bool m_availabilityZoneHasBeenSet = false;
161
162 Aws::String m_availabilityZoneId;
163 bool m_availabilityZoneIdHasBeenSet = false;
164
165 Aws::String m_clientToken;
166 bool m_clientTokenHasBeenSet = false;
167
168 Aws::String m_description;
169 bool m_descriptionHasBeenSet = false;
170
171 Aws::String m_networkArn;
172 bool m_networkArnHasBeenSet = false;
173
174 Aws::String m_networkSiteName;
175 bool m_networkSiteNameHasBeenSet = false;
176
177 SitePlan m_pendingPlan;
178 bool m_pendingPlanHasBeenSet = false;
179
181 bool m_tagsHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace PrivateNetworks
186} // namespace Aws
CreateNetworkSiteRequest & AddTags(Aws::String &&key, const char *value)
CreateNetworkSiteRequest & WithAvailabilityZoneId(Aws::String &&value)
CreateNetworkSiteRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateNetworkSiteRequest & WithClientToken(Aws::String &&value)
CreateNetworkSiteRequest & WithNetworkSiteName(const Aws::String &value)
CreateNetworkSiteRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateNetworkSiteRequest & WithNetworkArn(const char *value)
AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override
CreateNetworkSiteRequest & WithAvailabilityZone(const char *value)
CreateNetworkSiteRequest & WithClientToken(const Aws::String &value)
CreateNetworkSiteRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateNetworkSiteRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateNetworkSiteRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
CreateNetworkSiteRequest & WithDescription(Aws::String &&value)
CreateNetworkSiteRequest & AddTags(const char *key, const char *value)
CreateNetworkSiteRequest & WithNetworkSiteName(const char *value)
CreateNetworkSiteRequest & WithNetworkArn(const Aws::String &value)
CreateNetworkSiteRequest & WithClientToken(const char *value)
CreateNetworkSiteRequest & WithAvailabilityZoneId(const Aws::String &value)
CreateNetworkSiteRequest & AddTags(const char *key, Aws::String &&value)
CreateNetworkSiteRequest & WithDescription(const char *value)
CreateNetworkSiteRequest & WithDescription(const Aws::String &value)
CreateNetworkSiteRequest & WithAvailabilityZone(const Aws::String &value)
CreateNetworkSiteRequest & WithNetworkSiteName(Aws::String &&value)
CreateNetworkSiteRequest & WithPendingPlan(const SitePlan &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateNetworkSiteRequest & WithPendingPlan(SitePlan &&value)
CreateNetworkSiteRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateNetworkSiteRequest & WithAvailabilityZoneId(const char *value)
CreateNetworkSiteRequest & WithAvailabilityZone(Aws::String &&value)
CreateNetworkSiteRequest & WithNetworkArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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