AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 OutpostResolver& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
59 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
60 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
61 template<typename CreationTimeT = Aws::String>
62 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
63 template<typename CreationTimeT = Aws::String>
64 OutpostResolver& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
66
68
72 inline const Aws::String& GetModificationTime() const { return m_modificationTime; }
73 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
74 template<typename ModificationTimeT = Aws::String>
75 void SetModificationTime(ModificationTimeT&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::forward<ModificationTimeT>(value); }
76 template<typename ModificationTimeT = Aws::String>
77 OutpostResolver& WithModificationTime(ModificationTimeT&& value) { SetModificationTime(std::forward<ModificationTimeT>(value)); return *this;}
79
81
86 inline const Aws::String& GetCreatorRequestId() const { return m_creatorRequestId; }
87 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
88 template<typename CreatorRequestIdT = Aws::String>
89 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
90 template<typename CreatorRequestIdT = Aws::String>
91 OutpostResolver& WithCreatorRequestId(CreatorRequestIdT&& value) { SetCreatorRequestId(std::forward<CreatorRequestIdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetId() const { return m_id; }
99 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
100 template<typename IdT = Aws::String>
101 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
102 template<typename IdT = Aws::String>
103 OutpostResolver& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
105
107
110 inline int GetInstanceCount() const { return m_instanceCount; }
111 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
112 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
113 inline OutpostResolver& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
115
117
120 inline const Aws::String& GetPreferredInstanceType() const { return m_preferredInstanceType; }
121 inline bool PreferredInstanceTypeHasBeenSet() const { return m_preferredInstanceTypeHasBeenSet; }
122 template<typename PreferredInstanceTypeT = Aws::String>
123 void SetPreferredInstanceType(PreferredInstanceTypeT&& value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType = std::forward<PreferredInstanceTypeT>(value); }
124 template<typename PreferredInstanceTypeT = Aws::String>
125 OutpostResolver& WithPreferredInstanceType(PreferredInstanceTypeT&& value) { SetPreferredInstanceType(std::forward<PreferredInstanceTypeT>(value)); return *this;}
127
129
132 inline const Aws::String& GetName() const { return m_name; }
133 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 template<typename NameT = Aws::String>
135 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
136 template<typename NameT = Aws::String>
137 OutpostResolver& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
139
141
144 inline OutpostResolverStatus GetStatus() const { return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 inline void SetStatus(OutpostResolverStatus value) { m_statusHasBeenSet = true; m_status = value; }
147 inline OutpostResolver& WithStatus(OutpostResolverStatus value) { SetStatus(value); return *this;}
149
151
154 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
155 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
156 template<typename StatusMessageT = Aws::String>
157 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
158 template<typename StatusMessageT = Aws::String>
159 OutpostResolver& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
161
163
166 inline const Aws::String& GetOutpostArn() const { return m_outpostArn; }
167 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
168 template<typename OutpostArnT = Aws::String>
169 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::forward<OutpostArnT>(value); }
170 template<typename OutpostArnT = Aws::String>
171 OutpostResolver& WithOutpostArn(OutpostArnT&& value) { SetOutpostArn(std::forward<OutpostArnT>(value)); return *this;}
173 private:
174
175 Aws::String m_arn;
176 bool m_arnHasBeenSet = false;
177
178 Aws::String m_creationTime;
179 bool m_creationTimeHasBeenSet = false;
180
181 Aws::String m_modificationTime;
182 bool m_modificationTimeHasBeenSet = false;
183
184 Aws::String m_creatorRequestId;
185 bool m_creatorRequestIdHasBeenSet = false;
186
187 Aws::String m_id;
188 bool m_idHasBeenSet = false;
189
190 int m_instanceCount{0};
191 bool m_instanceCountHasBeenSet = false;
192
193 Aws::String m_preferredInstanceType;
194 bool m_preferredInstanceTypeHasBeenSet = false;
195
196 Aws::String m_name;
197 bool m_nameHasBeenSet = false;
198
200 bool m_statusHasBeenSet = false;
201
202 Aws::String m_statusMessage;
203 bool m_statusMessageHasBeenSet = false;
204
205 Aws::String m_outpostArn;
206 bool m_outpostArnHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace Route53Resolver
211} // 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
AWS_ROUTE53RESOLVER_API OutpostResolver()=default
OutpostResolver & WithStatusMessage(StatusMessageT &&value)
OutpostResolver & WithCreatorRequestId(CreatorRequestIdT &&value)
OutpostResolver & WithInstanceCount(int value)
AWS_ROUTE53RESOLVER_API OutpostResolver(Aws::Utils::Json::JsonView jsonValue)
void SetPreferredInstanceType(PreferredInstanceTypeT &&value)
void SetStatusMessage(StatusMessageT &&value)
OutpostResolver & WithPreferredInstanceType(PreferredInstanceTypeT &&value)
OutpostResolver & WithModificationTime(ModificationTimeT &&value)
OutpostResolver & WithCreationTime(CreationTimeT &&value)
void SetModificationTime(ModificationTimeT &&value)
OutpostResolver & WithArn(ArnT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetCreatorRequestId(CreatorRequestIdT &&value)
const Aws::String & GetPreferredInstanceType() const
OutpostResolver & WithStatus(OutpostResolverStatus value)
const Aws::String & GetCreationTime() const
const Aws::String & GetCreatorRequestId() const
void SetStatus(OutpostResolverStatus value)
OutpostResolver & WithOutpostArn(OutpostArnT &&value)
OutpostResolver & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue