AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifiedAccessGroup.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/VerifiedAccessSseSpecificationResponse.h>
12#include <aws/ec2/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_EC2_API VerifiedAccessGroup();
38 AWS_EC2_API VerifiedAccessGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetVerifiedAccessGroupId() const{ return m_verifiedAccessGroupId; }
50 inline bool VerifiedAccessGroupIdHasBeenSet() const { return m_verifiedAccessGroupIdHasBeenSet; }
51 inline void SetVerifiedAccessGroupId(const Aws::String& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = value; }
52 inline void SetVerifiedAccessGroupId(Aws::String&& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = std::move(value); }
53 inline void SetVerifiedAccessGroupId(const char* value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId.assign(value); }
55 inline VerifiedAccessGroup& WithVerifiedAccessGroupId(Aws::String&& value) { SetVerifiedAccessGroupId(std::move(value)); return *this;}
56 inline VerifiedAccessGroup& WithVerifiedAccessGroupId(const char* value) { SetVerifiedAccessGroupId(value); return *this;}
58
60
63 inline const Aws::String& GetVerifiedAccessInstanceId() const{ return m_verifiedAccessInstanceId; }
64 inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; }
65 inline void SetVerifiedAccessInstanceId(const Aws::String& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = value; }
66 inline void SetVerifiedAccessInstanceId(Aws::String&& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = std::move(value); }
67 inline void SetVerifiedAccessInstanceId(const char* value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId.assign(value); }
70 inline VerifiedAccessGroup& WithVerifiedAccessInstanceId(const char* value) { SetVerifiedAccessInstanceId(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline VerifiedAccessGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline VerifiedAccessGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline VerifiedAccessGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::String& GetOwner() const{ return m_owner; }
92 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
93 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
94 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
95 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
96 inline VerifiedAccessGroup& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
97 inline VerifiedAccessGroup& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
98 inline VerifiedAccessGroup& WithOwner(const char* value) { SetOwner(value); return *this;}
100
102
105 inline const Aws::String& GetVerifiedAccessGroupArn() const{ return m_verifiedAccessGroupArn; }
106 inline bool VerifiedAccessGroupArnHasBeenSet() const { return m_verifiedAccessGroupArnHasBeenSet; }
107 inline void SetVerifiedAccessGroupArn(const Aws::String& value) { m_verifiedAccessGroupArnHasBeenSet = true; m_verifiedAccessGroupArn = value; }
108 inline void SetVerifiedAccessGroupArn(Aws::String&& value) { m_verifiedAccessGroupArnHasBeenSet = true; m_verifiedAccessGroupArn = std::move(value); }
109 inline void SetVerifiedAccessGroupArn(const char* value) { m_verifiedAccessGroupArnHasBeenSet = true; m_verifiedAccessGroupArn.assign(value); }
111 inline VerifiedAccessGroup& WithVerifiedAccessGroupArn(Aws::String&& value) { SetVerifiedAccessGroupArn(std::move(value)); return *this;}
112 inline VerifiedAccessGroup& WithVerifiedAccessGroupArn(const char* value) { SetVerifiedAccessGroupArn(value); return *this;}
114
116
119 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
120 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
121 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
122 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
123 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
124 inline VerifiedAccessGroup& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
125 inline VerifiedAccessGroup& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
126 inline VerifiedAccessGroup& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
128
130
133 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
134 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
135 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
136 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
137 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
138 inline VerifiedAccessGroup& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
139 inline VerifiedAccessGroup& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
140 inline VerifiedAccessGroup& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
142
144
147 inline const Aws::String& GetDeletionTime() const{ return m_deletionTime; }
148 inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; }
149 inline void SetDeletionTime(const Aws::String& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = value; }
150 inline void SetDeletionTime(Aws::String&& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = std::move(value); }
151 inline void SetDeletionTime(const char* value) { m_deletionTimeHasBeenSet = true; m_deletionTime.assign(value); }
152 inline VerifiedAccessGroup& WithDeletionTime(const Aws::String& value) { SetDeletionTime(value); return *this;}
153 inline VerifiedAccessGroup& WithDeletionTime(Aws::String&& value) { SetDeletionTime(std::move(value)); return *this;}
154 inline VerifiedAccessGroup& WithDeletionTime(const char* value) { SetDeletionTime(value); return *this;}
156
158
161 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
162 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
163 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
164 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
165 inline VerifiedAccessGroup& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
166 inline VerifiedAccessGroup& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
167 inline VerifiedAccessGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
168 inline VerifiedAccessGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
170
172
175 inline const VerifiedAccessSseSpecificationResponse& GetSseSpecification() const{ return m_sseSpecification; }
176 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
177 inline void SetSseSpecification(const VerifiedAccessSseSpecificationResponse& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = value; }
178 inline void SetSseSpecification(VerifiedAccessSseSpecificationResponse&& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = std::move(value); }
182 private:
183
184 Aws::String m_verifiedAccessGroupId;
185 bool m_verifiedAccessGroupIdHasBeenSet = false;
186
187 Aws::String m_verifiedAccessInstanceId;
188 bool m_verifiedAccessInstanceIdHasBeenSet = false;
189
190 Aws::String m_description;
191 bool m_descriptionHasBeenSet = false;
192
193 Aws::String m_owner;
194 bool m_ownerHasBeenSet = false;
195
196 Aws::String m_verifiedAccessGroupArn;
197 bool m_verifiedAccessGroupArnHasBeenSet = false;
198
199 Aws::String m_creationTime;
200 bool m_creationTimeHasBeenSet = false;
201
202 Aws::String m_lastUpdatedTime;
203 bool m_lastUpdatedTimeHasBeenSet = false;
204
205 Aws::String m_deletionTime;
206 bool m_deletionTimeHasBeenSet = false;
207
208 Aws::Vector<Tag> m_tags;
209 bool m_tagsHasBeenSet = false;
210
212 bool m_sseSpecificationHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace EC2
217} // namespace Aws
const Aws::String & GetVerifiedAccessInstanceId() const
void SetTags(Aws::Vector< Tag > &&value)
void SetVerifiedAccessGroupArn(const char *value)
VerifiedAccessGroup & WithVerifiedAccessInstanceId(const char *value)
VerifiedAccessGroup & WithOwner(const Aws::String &value)
VerifiedAccessGroup & WithOwner(const char *value)
const Aws::String & GetVerifiedAccessGroupArn() const
VerifiedAccessGroup & WithCreationTime(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDeletionTime(const Aws::String &value)
VerifiedAccessGroup & WithVerifiedAccessGroupId(Aws::String &&value)
void SetVerifiedAccessInstanceId(Aws::String &&value)
VerifiedAccessGroup & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetLastUpdatedTime() const
VerifiedAccessGroup & AddTags(Tag &&value)
VerifiedAccessGroup & WithVerifiedAccessInstanceId(Aws::String &&value)
VerifiedAccessGroup & WithVerifiedAccessGroupId(const Aws::String &value)
VerifiedAccessGroup & WithVerifiedAccessGroupId(const char *value)
VerifiedAccessGroup & WithDescription(const char *value)
const Aws::String & GetOwner() const
VerifiedAccessGroup & WithVerifiedAccessGroupArn(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOwner(const Aws::String &value)
VerifiedAccessGroup & WithDeletionTime(Aws::String &&value)
VerifiedAccessGroup & AddTags(const Tag &value)
void SetDescription(const Aws::String &value)
void SetVerifiedAccessGroupId(const char *value)
VerifiedAccessGroup & WithVerifiedAccessGroupArn(const char *value)
const Aws::String & GetDeletionTime() const
VerifiedAccessGroup & WithDescription(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetSseSpecification(VerifiedAccessSseSpecificationResponse &&value)
void SetDescription(Aws::String &&value)
VerifiedAccessGroup & WithDeletionTime(const char *value)
AWS_EC2_API VerifiedAccessGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessGroup & WithLastUpdatedTime(const Aws::String &value)
void SetVerifiedAccessInstanceId(const char *value)
void SetVerifiedAccessGroupArn(Aws::String &&value)
void SetCreationTime(const Aws::String &value)
VerifiedAccessGroup & WithCreationTime(Aws::String &&value)
VerifiedAccessGroup & WithVerifiedAccessInstanceId(const Aws::String &value)
void SetVerifiedAccessGroupId(Aws::String &&value)
VerifiedAccessGroup & WithTags(Aws::Vector< Tag > &&value)
AWS_EC2_API VerifiedAccessGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSseSpecification(const VerifiedAccessSseSpecificationResponse &value)
VerifiedAccessGroup & WithOwner(Aws::String &&value)
VerifiedAccessGroup & WithVerifiedAccessGroupArn(const Aws::String &value)
VerifiedAccessGroup & WithDescription(const Aws::String &value)
void SetLastUpdatedTime(const Aws::String &value)
const VerifiedAccessSseSpecificationResponse & GetSseSpecification() const
VerifiedAccessGroup & WithDeletionTime(const Aws::String &value)
void SetCreationTime(Aws::String &&value)
VerifiedAccessGroup & WithLastUpdatedTime(const char *value)
const Aws::String & GetCreationTime() const
VerifiedAccessGroup & WithSseSpecification(const VerifiedAccessSseSpecificationResponse &value)
void SetDeletionTime(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetVerifiedAccessGroupArn(const Aws::String &value)
const Aws::String & GetDescription() const
void SetLastUpdatedTime(Aws::String &&value)
VerifiedAccessGroup & WithSseSpecification(VerifiedAccessSseSpecificationResponse &&value)
void SetVerifiedAccessInstanceId(const Aws::String &value)
VerifiedAccessGroup & WithLastUpdatedTime(Aws::String &&value)
const Aws::String & GetVerifiedAccessGroupId() const
VerifiedAccessGroup & WithCreationTime(const char *value)
void SetVerifiedAccessGroupId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream