AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVerifiedAccessGroupRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/VerifiedAccessSseSpecificationRequest.h>
12#include <aws/ec2/model/TagSpecification.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace EC2
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateVerifiedAccessGroup"; }
35
36 AWS_EC2_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetVerifiedAccessInstanceId() const{ return m_verifiedAccessInstanceId; }
48 inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; }
49 inline void SetVerifiedAccessInstanceId(const Aws::String& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = value; }
50 inline void SetVerifiedAccessInstanceId(Aws::String&& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = std::move(value); }
51 inline void SetVerifiedAccessInstanceId(const char* value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId.assign(value); }
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline CreateVerifiedAccessGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline CreateVerifiedAccessGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline CreateVerifiedAccessGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
76 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
77 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = value; }
78 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = std::move(value); }
79 inline void SetPolicyDocument(const char* value) { m_policyDocumentHasBeenSet = true; m_policyDocument.assign(value); }
81 inline CreateVerifiedAccessGroupRequest& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;}
82 inline CreateVerifiedAccessGroupRequest& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
84
86
89 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
90 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
91 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
92 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
95 inline CreateVerifiedAccessGroupRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
96 inline CreateVerifiedAccessGroupRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
98
100
106 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
107 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
108 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
109 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
110 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
111 inline CreateVerifiedAccessGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
112 inline CreateVerifiedAccessGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
113 inline CreateVerifiedAccessGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
115
117
123 inline bool GetDryRun() const{ return m_dryRun; }
124 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
125 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
126 inline CreateVerifiedAccessGroupRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
128
130
133 inline const VerifiedAccessSseSpecificationRequest& GetSseSpecification() const{ return m_sseSpecification; }
134 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
135 inline void SetSseSpecification(const VerifiedAccessSseSpecificationRequest& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = value; }
136 inline void SetSseSpecification(VerifiedAccessSseSpecificationRequest&& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = std::move(value); }
140 private:
141
142 Aws::String m_verifiedAccessInstanceId;
143 bool m_verifiedAccessInstanceIdHasBeenSet = false;
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
148 Aws::String m_policyDocument;
149 bool m_policyDocumentHasBeenSet = false;
150
151 Aws::Vector<TagSpecification> m_tagSpecifications;
152 bool m_tagSpecificationsHasBeenSet = false;
153
154 Aws::String m_clientToken;
155 bool m_clientTokenHasBeenSet = false;
156
157 bool m_dryRun;
158 bool m_dryRunHasBeenSet = false;
159
160 VerifiedAccessSseSpecificationRequest m_sseSpecification;
161 bool m_sseSpecificationHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace EC2
166} // namespace Aws
CreateVerifiedAccessGroupRequest & WithVerifiedAccessInstanceId(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateVerifiedAccessGroupRequest & WithVerifiedAccessInstanceId(const Aws::String &value)
CreateVerifiedAccessGroupRequest & WithPolicyDocument(const Aws::String &value)
void SetSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
CreateVerifiedAccessGroupRequest & WithVerifiedAccessInstanceId(Aws::String &&value)
void SetSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
CreateVerifiedAccessGroupRequest & AddTagSpecifications(const TagSpecification &value)
CreateVerifiedAccessGroupRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVerifiedAccessGroupRequest & AddTagSpecifications(TagSpecification &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVerifiedAccessGroupRequest & WithDescription(const Aws::String &value)
CreateVerifiedAccessGroupRequest & WithClientToken(const char *value)
CreateVerifiedAccessGroupRequest & WithSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
CreateVerifiedAccessGroupRequest & WithDescription(Aws::String &&value)
CreateVerifiedAccessGroupRequest & WithClientToken(Aws::String &&value)
CreateVerifiedAccessGroupRequest & WithPolicyDocument(Aws::String &&value)
CreateVerifiedAccessGroupRequest & WithDescription(const char *value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVerifiedAccessGroupRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateVerifiedAccessGroupRequest & WithPolicyDocument(const char *value)
const VerifiedAccessSseSpecificationRequest & GetSseSpecification() const
CreateVerifiedAccessGroupRequest & WithSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
CreateVerifiedAccessGroupRequest & WithDryRun(bool value)
CreateVerifiedAccessGroupRequest & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector