AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateVerifiedAccessInstanceRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/TagSpecification.h>
13
14#include <utility>
15
16namespace Aws {
17namespace EC2 {
18namespace Model {
19
23 public:
24 AWS_EC2_API CreateVerifiedAccessInstanceRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateVerifiedAccessInstance"; }
31
32 AWS_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
42 inline const Aws::String& GetDescription() const { return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 template <typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) {
46 m_descriptionHasBeenSet = true;
47 m_description = std::forward<DescriptionT>(value);
48 }
49 template <typename DescriptionT = Aws::String>
51 SetDescription(std::forward<DescriptionT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const { return m_tagSpecifications; }
61 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
62 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
63 void SetTagSpecifications(TagSpecificationsT&& value) {
64 m_tagSpecificationsHasBeenSet = true;
65 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
66 }
67 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
69 SetTagSpecifications(std::forward<TagSpecificationsT>(value));
70 return *this;
71 }
72 template <typename TagSpecificationsT = TagSpecification>
74 m_tagSpecificationsHasBeenSet = true;
75 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
76 return *this;
77 }
79
81
87 inline const Aws::String& GetClientToken() const { return m_clientToken; }
88 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
89 template <typename ClientTokenT = Aws::String>
90 void SetClientToken(ClientTokenT&& value) {
91 m_clientTokenHasBeenSet = true;
92 m_clientToken = std::forward<ClientTokenT>(value);
93 }
94 template <typename ClientTokenT = Aws::String>
96 SetClientToken(std::forward<ClientTokenT>(value));
97 return *this;
98 }
100
102
108 inline bool GetDryRun() const { return m_dryRun; }
109 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
110 inline void SetDryRun(bool value) {
111 m_dryRunHasBeenSet = true;
112 m_dryRun = value;
113 }
115 SetDryRun(value);
116 return *this;
117 }
119
121
125 inline bool GetFIPSEnabled() const { return m_fIPSEnabled; }
126 inline bool FIPSEnabledHasBeenSet() const { return m_fIPSEnabledHasBeenSet; }
127 inline void SetFIPSEnabled(bool value) {
128 m_fIPSEnabledHasBeenSet = true;
129 m_fIPSEnabled = value;
130 }
132 SetFIPSEnabled(value);
133 return *this;
134 }
136
138
141 inline const Aws::String& GetCidrEndpointsCustomSubDomain() const { return m_cidrEndpointsCustomSubDomain; }
142 inline bool CidrEndpointsCustomSubDomainHasBeenSet() const { return m_cidrEndpointsCustomSubDomainHasBeenSet; }
143 template <typename CidrEndpointsCustomSubDomainT = Aws::String>
144 void SetCidrEndpointsCustomSubDomain(CidrEndpointsCustomSubDomainT&& value) {
145 m_cidrEndpointsCustomSubDomainHasBeenSet = true;
146 m_cidrEndpointsCustomSubDomain = std::forward<CidrEndpointsCustomSubDomainT>(value);
147 }
148 template <typename CidrEndpointsCustomSubDomainT = Aws::String>
150 SetCidrEndpointsCustomSubDomain(std::forward<CidrEndpointsCustomSubDomainT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_description;
156
157 Aws::Vector<TagSpecification> m_tagSpecifications;
158
160
161 bool m_dryRun{false};
162
163 bool m_fIPSEnabled{false};
164
165 Aws::String m_cidrEndpointsCustomSubDomain;
166 bool m_descriptionHasBeenSet = false;
167 bool m_tagSpecificationsHasBeenSet = false;
168 bool m_clientTokenHasBeenSet = true;
169 bool m_dryRunHasBeenSet = false;
170 bool m_fIPSEnabledHasBeenSet = false;
171 bool m_cidrEndpointsCustomSubDomainHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace EC2
176} // namespace Aws
void SetCidrEndpointsCustomSubDomain(CidrEndpointsCustomSubDomainT &&value)
CreateVerifiedAccessInstanceRequest & WithDescription(DescriptionT &&value)
CreateVerifiedAccessInstanceRequest & WithCidrEndpointsCustomSubDomain(CidrEndpointsCustomSubDomainT &&value)
CreateVerifiedAccessInstanceRequest & WithFIPSEnabled(bool value)
CreateVerifiedAccessInstanceRequest & WithTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateVerifiedAccessInstanceRequest & WithDryRun(bool value)
CreateVerifiedAccessInstanceRequest & WithClientToken(ClientTokenT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateVerifiedAccessInstanceRequest & AddTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector