AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutpostResolver.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/model/OutpostResolverStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53Resolver
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53RESOLVER_API OutpostResolver();
37 AWS_ROUTE53RESOLVER_API OutpostResolver(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RESOLVER_API OutpostResolver& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline OutpostResolver& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline OutpostResolver& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline OutpostResolver& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
62 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
63 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
64 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
65 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
66 inline OutpostResolver& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
67 inline OutpostResolver& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
68 inline OutpostResolver& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
70
72
76 inline const Aws::String& GetModificationTime() const{ return m_modificationTime; }
77 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
78 inline void SetModificationTime(const Aws::String& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; }
79 inline void SetModificationTime(Aws::String&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); }
80 inline void SetModificationTime(const char* value) { m_modificationTimeHasBeenSet = true; m_modificationTime.assign(value); }
81 inline OutpostResolver& WithModificationTime(const Aws::String& value) { SetModificationTime(value); return *this;}
82 inline OutpostResolver& WithModificationTime(Aws::String&& value) { SetModificationTime(std::move(value)); return *this;}
83 inline OutpostResolver& WithModificationTime(const char* value) { SetModificationTime(value); return *this;}
85
87
92 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
93 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
94 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
95 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
96 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
97 inline OutpostResolver& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
98 inline OutpostResolver& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
99 inline OutpostResolver& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
101
103
106 inline const Aws::String& GetId() const{ return m_id; }
107 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
108 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
109 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
110 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
111 inline OutpostResolver& WithId(const Aws::String& value) { SetId(value); return *this;}
112 inline OutpostResolver& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 inline OutpostResolver& WithId(const char* value) { SetId(value); return *this;}
115
117
120 inline int GetInstanceCount() const{ return m_instanceCount; }
121 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
122 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
123 inline OutpostResolver& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
125
127
130 inline const Aws::String& GetPreferredInstanceType() const{ return m_preferredInstanceType; }
131 inline bool PreferredInstanceTypeHasBeenSet() const { return m_preferredInstanceTypeHasBeenSet; }
132 inline void SetPreferredInstanceType(const Aws::String& value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType = value; }
133 inline void SetPreferredInstanceType(Aws::String&& value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType = std::move(value); }
134 inline void SetPreferredInstanceType(const char* value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType.assign(value); }
136 inline OutpostResolver& WithPreferredInstanceType(Aws::String&& value) { SetPreferredInstanceType(std::move(value)); return *this;}
137 inline OutpostResolver& WithPreferredInstanceType(const char* value) { SetPreferredInstanceType(value); return *this;}
139
141
144 inline const Aws::String& GetName() const{ return m_name; }
145 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
146 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
147 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
148 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 inline OutpostResolver& WithName(const Aws::String& value) { SetName(value); return *this;}
150 inline OutpostResolver& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
151 inline OutpostResolver& WithName(const char* value) { SetName(value); return *this;}
153
155
158 inline const OutpostResolverStatus& GetStatus() const{ return m_status; }
159 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
160 inline void SetStatus(const OutpostResolverStatus& value) { m_statusHasBeenSet = true; m_status = value; }
161 inline void SetStatus(OutpostResolverStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
162 inline OutpostResolver& WithStatus(const OutpostResolverStatus& value) { SetStatus(value); return *this;}
163 inline OutpostResolver& WithStatus(OutpostResolverStatus&& value) { SetStatus(std::move(value)); return *this;}
165
167
170 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
171 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
172 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
173 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
174 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
175 inline OutpostResolver& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
176 inline OutpostResolver& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
177 inline OutpostResolver& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
179
181
184 inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
185 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
186 inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
187 inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
188 inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
189 inline OutpostResolver& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
190 inline OutpostResolver& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
191 inline OutpostResolver& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
193 private:
194
195 Aws::String m_arn;
196 bool m_arnHasBeenSet = false;
197
198 Aws::String m_creationTime;
199 bool m_creationTimeHasBeenSet = false;
200
201 Aws::String m_modificationTime;
202 bool m_modificationTimeHasBeenSet = false;
203
204 Aws::String m_creatorRequestId;
205 bool m_creatorRequestIdHasBeenSet = false;
206
207 Aws::String m_id;
208 bool m_idHasBeenSet = false;
209
210 int m_instanceCount;
211 bool m_instanceCountHasBeenSet = false;
212
213 Aws::String m_preferredInstanceType;
214 bool m_preferredInstanceTypeHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 OutpostResolverStatus m_status;
220 bool m_statusHasBeenSet = false;
221
222 Aws::String m_statusMessage;
223 bool m_statusMessageHasBeenSet = false;
224
225 Aws::String m_outpostArn;
226 bool m_outpostArnHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace Route53Resolver
231} // namespace Aws
AWS_ROUTE53RESOLVER_API OutpostResolver & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetModificationTime() const
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
OutpostResolver & WithCreationTime(const char *value)
OutpostResolver & WithId(const Aws::String &value)
void SetModificationTime(const Aws::String &value)
OutpostResolver & WithPreferredInstanceType(const char *value)
AWS_ROUTE53RESOLVER_API OutpostResolver()
OutpostResolver & WithArn(const char *value)
void SetPreferredInstanceType(Aws::String &&value)
const OutpostResolverStatus & GetStatus() const
OutpostResolver & WithName(const char *value)
void SetCreatorRequestId(const Aws::String &value)
OutpostResolver & WithName(Aws::String &&value)
OutpostResolver & WithCreationTime(const Aws::String &value)
OutpostResolver & WithInstanceCount(int value)
OutpostResolver & WithOutpostArn(const Aws::String &value)
OutpostResolver & WithOutpostArn(const char *value)
OutpostResolver & WithStatusMessage(const Aws::String &value)
void SetPreferredInstanceType(const Aws::String &value)
OutpostResolver & WithCreationTime(Aws::String &&value)
void SetStatus(const OutpostResolverStatus &value)
OutpostResolver & WithCreatorRequestId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API OutpostResolver(Aws::Utils::Json::JsonView jsonValue)
OutpostResolver & WithModificationTime(const Aws::String &value)
OutpostResolver & WithPreferredInstanceType(Aws::String &&value)
OutpostResolver & WithArn(Aws::String &&value)
OutpostResolver & WithCreatorRequestId(const char *value)
void SetArn(const Aws::String &value)
void SetStatus(OutpostResolverStatus &&value)
OutpostResolver & WithModificationTime(Aws::String &&value)
void SetOutpostArn(const Aws::String &value)
OutpostResolver & WithName(const Aws::String &value)
OutpostResolver & WithOutpostArn(Aws::String &&value)
void SetCreationTime(const Aws::String &value)
const Aws::String & GetPreferredInstanceType() const
OutpostResolver & WithStatusMessage(Aws::String &&value)
OutpostResolver & WithStatus(OutpostResolverStatus &&value)
OutpostResolver & WithStatusMessage(const char *value)
OutpostResolver & WithArn(const Aws::String &value)
const Aws::String & GetCreationTime() const
OutpostResolver & WithCreatorRequestId(Aws::String &&value)
const Aws::String & GetCreatorRequestId() const
OutpostResolver & WithId(const char *value)
OutpostResolver & WithStatus(const OutpostResolverStatus &value)
OutpostResolver & WithModificationTime(const char *value)
OutpostResolver & WithId(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
OutpostResolver & WithPreferredInstanceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue