AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IpamExternalResourceVerificationToken.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/DateTime.h>
11#include <aws/ec2/model/TokenState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/IpamExternalResourceVerificationTokenState.h>
14#include <aws/ec2/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
30
41 {
42 public:
46
47 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
49
50
52
55 inline const Aws::String& GetIpamExternalResourceVerificationTokenId() const{ return m_ipamExternalResourceVerificationTokenId; }
56 inline bool IpamExternalResourceVerificationTokenIdHasBeenSet() const { return m_ipamExternalResourceVerificationTokenIdHasBeenSet; }
57 inline void SetIpamExternalResourceVerificationTokenId(const Aws::String& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = value; }
58 inline void SetIpamExternalResourceVerificationTokenId(Aws::String&& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = std::move(value); }
59 inline void SetIpamExternalResourceVerificationTokenId(const char* value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId.assign(value); }
64
66
69 inline const Aws::String& GetIpamExternalResourceVerificationTokenArn() const{ return m_ipamExternalResourceVerificationTokenArn; }
70 inline bool IpamExternalResourceVerificationTokenArnHasBeenSet() const { return m_ipamExternalResourceVerificationTokenArnHasBeenSet; }
71 inline void SetIpamExternalResourceVerificationTokenArn(const Aws::String& value) { m_ipamExternalResourceVerificationTokenArnHasBeenSet = true; m_ipamExternalResourceVerificationTokenArn = value; }
72 inline void SetIpamExternalResourceVerificationTokenArn(Aws::String&& value) { m_ipamExternalResourceVerificationTokenArnHasBeenSet = true; m_ipamExternalResourceVerificationTokenArn = std::move(value); }
73 inline void SetIpamExternalResourceVerificationTokenArn(const char* value) { m_ipamExternalResourceVerificationTokenArnHasBeenSet = true; m_ipamExternalResourceVerificationTokenArn.assign(value); }
78
80
83 inline const Aws::String& GetIpamId() const{ return m_ipamId; }
84 inline bool IpamIdHasBeenSet() const { return m_ipamIdHasBeenSet; }
85 inline void SetIpamId(const Aws::String& value) { m_ipamIdHasBeenSet = true; m_ipamId = value; }
86 inline void SetIpamId(Aws::String&& value) { m_ipamIdHasBeenSet = true; m_ipamId = std::move(value); }
87 inline void SetIpamId(const char* value) { m_ipamIdHasBeenSet = true; m_ipamId.assign(value); }
88 inline IpamExternalResourceVerificationToken& WithIpamId(const Aws::String& value) { SetIpamId(value); return *this;}
89 inline IpamExternalResourceVerificationToken& WithIpamId(Aws::String&& value) { SetIpamId(std::move(value)); return *this;}
90 inline IpamExternalResourceVerificationToken& WithIpamId(const char* value) { SetIpamId(value); return *this;}
92
94
97 inline const Aws::String& GetIpamArn() const{ return m_ipamArn; }
98 inline bool IpamArnHasBeenSet() const { return m_ipamArnHasBeenSet; }
99 inline void SetIpamArn(const Aws::String& value) { m_ipamArnHasBeenSet = true; m_ipamArn = value; }
100 inline void SetIpamArn(Aws::String&& value) { m_ipamArnHasBeenSet = true; m_ipamArn = std::move(value); }
101 inline void SetIpamArn(const char* value) { m_ipamArnHasBeenSet = true; m_ipamArn.assign(value); }
102 inline IpamExternalResourceVerificationToken& WithIpamArn(const Aws::String& value) { SetIpamArn(value); return *this;}
103 inline IpamExternalResourceVerificationToken& WithIpamArn(Aws::String&& value) { SetIpamArn(std::move(value)); return *this;}
104 inline IpamExternalResourceVerificationToken& WithIpamArn(const char* value) { SetIpamArn(value); return *this;}
106
108
111 inline const Aws::String& GetIpamRegion() const{ return m_ipamRegion; }
112 inline bool IpamRegionHasBeenSet() const { return m_ipamRegionHasBeenSet; }
113 inline void SetIpamRegion(const Aws::String& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = value; }
114 inline void SetIpamRegion(Aws::String&& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = std::move(value); }
115 inline void SetIpamRegion(const char* value) { m_ipamRegionHasBeenSet = true; m_ipamRegion.assign(value); }
117 inline IpamExternalResourceVerificationToken& WithIpamRegion(Aws::String&& value) { SetIpamRegion(std::move(value)); return *this;}
118 inline IpamExternalResourceVerificationToken& WithIpamRegion(const char* value) { SetIpamRegion(value); return *this;}
120
122
125 inline const Aws::String& GetTokenValue() const{ return m_tokenValue; }
126 inline bool TokenValueHasBeenSet() const { return m_tokenValueHasBeenSet; }
127 inline void SetTokenValue(const Aws::String& value) { m_tokenValueHasBeenSet = true; m_tokenValue = value; }
128 inline void SetTokenValue(Aws::String&& value) { m_tokenValueHasBeenSet = true; m_tokenValue = std::move(value); }
129 inline void SetTokenValue(const char* value) { m_tokenValueHasBeenSet = true; m_tokenValue.assign(value); }
131 inline IpamExternalResourceVerificationToken& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;}
132 inline IpamExternalResourceVerificationToken& WithTokenValue(const char* value) { SetTokenValue(value); return *this;}
134
136
139 inline const Aws::String& GetTokenName() const{ return m_tokenName; }
140 inline bool TokenNameHasBeenSet() const { return m_tokenNameHasBeenSet; }
141 inline void SetTokenName(const Aws::String& value) { m_tokenNameHasBeenSet = true; m_tokenName = value; }
142 inline void SetTokenName(Aws::String&& value) { m_tokenNameHasBeenSet = true; m_tokenName = std::move(value); }
143 inline void SetTokenName(const char* value) { m_tokenNameHasBeenSet = true; m_tokenName.assign(value); }
145 inline IpamExternalResourceVerificationToken& WithTokenName(Aws::String&& value) { SetTokenName(std::move(value)); return *this;}
146 inline IpamExternalResourceVerificationToken& WithTokenName(const char* value) { SetTokenName(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetNotAfter() const{ return m_notAfter; }
154 inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; }
155 inline void SetNotAfter(const Aws::Utils::DateTime& value) { m_notAfterHasBeenSet = true; m_notAfter = value; }
156 inline void SetNotAfter(Aws::Utils::DateTime&& value) { m_notAfterHasBeenSet = true; m_notAfter = std::move(value); }
158 inline IpamExternalResourceVerificationToken& WithNotAfter(Aws::Utils::DateTime&& value) { SetNotAfter(std::move(value)); return *this;}
160
162
165 inline const TokenState& GetStatus() const{ return m_status; }
166 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
167 inline void SetStatus(const TokenState& value) { m_statusHasBeenSet = true; m_status = value; }
168 inline void SetStatus(TokenState&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
169 inline IpamExternalResourceVerificationToken& WithStatus(const TokenState& value) { SetStatus(value); return *this;}
170 inline IpamExternalResourceVerificationToken& WithStatus(TokenState&& value) { SetStatus(std::move(value)); return *this;}
172
174
177 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
180 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
181 inline IpamExternalResourceVerificationToken& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
182 inline IpamExternalResourceVerificationToken& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
183 inline IpamExternalResourceVerificationToken& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
184 inline IpamExternalResourceVerificationToken& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
186
188
191 inline const IpamExternalResourceVerificationTokenState& GetState() const{ return m_state; }
192 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
193 inline void SetState(const IpamExternalResourceVerificationTokenState& value) { m_stateHasBeenSet = true; m_state = value; }
194 inline void SetState(IpamExternalResourceVerificationTokenState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
198 private:
199
200 Aws::String m_ipamExternalResourceVerificationTokenId;
201 bool m_ipamExternalResourceVerificationTokenIdHasBeenSet = false;
202
203 Aws::String m_ipamExternalResourceVerificationTokenArn;
204 bool m_ipamExternalResourceVerificationTokenArnHasBeenSet = false;
205
206 Aws::String m_ipamId;
207 bool m_ipamIdHasBeenSet = false;
208
209 Aws::String m_ipamArn;
210 bool m_ipamArnHasBeenSet = false;
211
212 Aws::String m_ipamRegion;
213 bool m_ipamRegionHasBeenSet = false;
214
215 Aws::String m_tokenValue;
216 bool m_tokenValueHasBeenSet = false;
217
218 Aws::String m_tokenName;
219 bool m_tokenNameHasBeenSet = false;
220
221 Aws::Utils::DateTime m_notAfter;
222 bool m_notAfterHasBeenSet = false;
223
224 TokenState m_status;
225 bool m_statusHasBeenSet = false;
226
227 Aws::Vector<Tag> m_tags;
228 bool m_tagsHasBeenSet = false;
229
231 bool m_stateHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace EC2
236} // namespace Aws
IpamExternalResourceVerificationToken & AddTags(const Tag &value)
void SetState(IpamExternalResourceVerificationTokenState &&value)
IpamExternalResourceVerificationToken & WithStatus(TokenState &&value)
IpamExternalResourceVerificationToken & WithIpamRegion(const Aws::String &value)
IpamExternalResourceVerificationToken & WithStatus(const TokenState &value)
IpamExternalResourceVerificationToken & WithTokenName(Aws::String &&value)
IpamExternalResourceVerificationToken & WithIpamArn(Aws::String &&value)
IpamExternalResourceVerificationToken & WithTags(const Aws::Vector< Tag > &value)
IpamExternalResourceVerificationToken & WithTokenValue(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IpamExternalResourceVerificationToken & WithTokenName(const Aws::String &value)
IpamExternalResourceVerificationToken & WithTokenName(const char *value)
IpamExternalResourceVerificationToken & WithIpamRegion(Aws::String &&value)
IpamExternalResourceVerificationToken & WithIpamId(const Aws::String &value)
IpamExternalResourceVerificationToken & WithNotAfter(Aws::Utils::DateTime &&value)
IpamExternalResourceVerificationToken & WithTokenValue(const Aws::String &value)
IpamExternalResourceVerificationToken & WithIpamArn(const Aws::String &value)
IpamExternalResourceVerificationToken & WithNotAfter(const Aws::Utils::DateTime &value)
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenId(const Aws::String &value)
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenArn(const char *value)
IpamExternalResourceVerificationToken & WithIpamArn(const char *value)
IpamExternalResourceVerificationToken & AddTags(Tag &&value)
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenId(Aws::String &&value)
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenArn(const Aws::String &value)
AWS_EC2_API IpamExternalResourceVerificationToken(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamExternalResourceVerificationToken & WithIpamId(const char *value)
void SetState(const IpamExternalResourceVerificationTokenState &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API IpamExternalResourceVerificationToken & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamExternalResourceVerificationToken & WithTags(Aws::Vector< Tag > &&value)
IpamExternalResourceVerificationToken & WithState(const IpamExternalResourceVerificationTokenState &value)
IpamExternalResourceVerificationToken & WithTokenValue(const char *value)
IpamExternalResourceVerificationToken & WithIpamId(Aws::String &&value)
const IpamExternalResourceVerificationTokenState & GetState() const
IpamExternalResourceVerificationToken & WithIpamRegion(const char *value)
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenId(const char *value)
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenArn(Aws::String &&value)
IpamExternalResourceVerificationToken & WithState(IpamExternalResourceVerificationTokenState &&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