AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResolverQueryLogConfig.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/ResolverQueryLogConfigStatus.h>
10#include <aws/route53resolver/model/ShareStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Route53Resolver
24{
25namespace Model
26{
27
43 {
44 public:
45 AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig();
46 AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig(Aws::Utils::Json::JsonView jsonValue);
47 AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const Aws::String& GetId() const{ return m_id; }
56 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
57 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
60 inline ResolverQueryLogConfig& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline ResolverQueryLogConfig& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline ResolverQueryLogConfig& WithId(const char* value) { SetId(value); return *this;}
64
66
70 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
71 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
72 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
73 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
74 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
75 inline ResolverQueryLogConfig& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
76 inline ResolverQueryLogConfig& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
77 inline ResolverQueryLogConfig& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
79
81
94 inline const ResolverQueryLogConfigStatus& GetStatus() const{ return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(const ResolverQueryLogConfigStatus& value) { m_statusHasBeenSet = true; m_status = value; }
97 inline void SetStatus(ResolverQueryLogConfigStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
98 inline ResolverQueryLogConfig& WithStatus(const ResolverQueryLogConfigStatus& value) { SetStatus(value); return *this;}
99 inline ResolverQueryLogConfig& WithStatus(ResolverQueryLogConfigStatus&& value) { SetStatus(std::move(value)); return *this;}
101
103
109 inline const ShareStatus& GetShareStatus() const{ return m_shareStatus; }
110 inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; }
111 inline void SetShareStatus(const ShareStatus& value) { m_shareStatusHasBeenSet = true; m_shareStatus = value; }
112 inline void SetShareStatus(ShareStatus&& value) { m_shareStatusHasBeenSet = true; m_shareStatus = std::move(value); }
113 inline ResolverQueryLogConfig& WithShareStatus(const ShareStatus& value) { SetShareStatus(value); return *this;}
114 inline ResolverQueryLogConfig& WithShareStatus(ShareStatus&& value) { SetShareStatus(std::move(value)); return *this;}
116
118
122 inline int GetAssociationCount() const{ return m_associationCount; }
123 inline bool AssociationCountHasBeenSet() const { return m_associationCountHasBeenSet; }
124 inline void SetAssociationCount(int value) { m_associationCountHasBeenSet = true; m_associationCount = value; }
125 inline ResolverQueryLogConfig& WithAssociationCount(int value) { SetAssociationCount(value); return *this;}
127
129
132 inline const Aws::String& GetArn() const{ return m_arn; }
133 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
134 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
135 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
136 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
137 inline ResolverQueryLogConfig& WithArn(const Aws::String& value) { SetArn(value); return *this;}
138 inline ResolverQueryLogConfig& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
139 inline ResolverQueryLogConfig& WithArn(const char* value) { SetArn(value); return *this;}
141
143
146 inline const Aws::String& GetName() const{ return m_name; }
147 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
148 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
149 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
150 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
151 inline ResolverQueryLogConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
152 inline ResolverQueryLogConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
153 inline ResolverQueryLogConfig& WithName(const char* value) { SetName(value); return *this;}
155
157
162 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
163 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
164 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
165 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
166 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
167 inline ResolverQueryLogConfig& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
168 inline ResolverQueryLogConfig& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
169 inline ResolverQueryLogConfig& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
171
173
178 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
179 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
180 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
181 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
182 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
183 inline ResolverQueryLogConfig& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
184 inline ResolverQueryLogConfig& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
185 inline ResolverQueryLogConfig& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
187
189
193 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
194 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
195 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
196 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
197 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
198 inline ResolverQueryLogConfig& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
199 inline ResolverQueryLogConfig& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
200 inline ResolverQueryLogConfig& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
202 private:
203
204 Aws::String m_id;
205 bool m_idHasBeenSet = false;
206
207 Aws::String m_ownerId;
208 bool m_ownerIdHasBeenSet = false;
209
211 bool m_statusHasBeenSet = false;
212
213 ShareStatus m_shareStatus;
214 bool m_shareStatusHasBeenSet = false;
215
216 int m_associationCount;
217 bool m_associationCountHasBeenSet = false;
218
219 Aws::String m_arn;
220 bool m_arnHasBeenSet = false;
221
222 Aws::String m_name;
223 bool m_nameHasBeenSet = false;
224
225 Aws::String m_destinationArn;
226 bool m_destinationArnHasBeenSet = false;
227
228 Aws::String m_creatorRequestId;
229 bool m_creatorRequestIdHasBeenSet = false;
230
231 Aws::String m_creationTime;
232 bool m_creationTimeHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace Route53Resolver
237} // namespace Aws
ResolverQueryLogConfig & WithId(const char *value)
ResolverQueryLogConfig & WithCreationTime(const Aws::String &value)
ResolverQueryLogConfig & WithOwnerId(const char *value)
ResolverQueryLogConfig & WithShareStatus(ShareStatus &&value)
ResolverQueryLogConfig & WithOwnerId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const ResolverQueryLogConfigStatus &value)
ResolverQueryLogConfig & WithName(const char *value)
ResolverQueryLogConfig & WithDestinationArn(const char *value)
ResolverQueryLogConfig & WithShareStatus(const ShareStatus &value)
ResolverQueryLogConfig & WithId(const Aws::String &value)
ResolverQueryLogConfig & WithCreatorRequestId(const Aws::String &value)
ResolverQueryLogConfig & WithDestinationArn(const Aws::String &value)
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolverQueryLogConfig & WithDestinationArn(Aws::String &&value)
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig(Aws::Utils::Json::JsonView jsonValue)
ResolverQueryLogConfig & WithOwnerId(Aws::String &&value)
ResolverQueryLogConfig & WithStatus(const ResolverQueryLogConfigStatus &value)
ResolverQueryLogConfig & WithCreatorRequestId(Aws::String &&value)
void SetStatus(ResolverQueryLogConfigStatus &&value)
ResolverQueryLogConfig & WithArn(Aws::String &&value)
ResolverQueryLogConfig & WithName(Aws::String &&value)
ResolverQueryLogConfig & WithStatus(ResolverQueryLogConfigStatus &&value)
ResolverQueryLogConfig & WithCreatorRequestId(const char *value)
ResolverQueryLogConfig & WithId(Aws::String &&value)
ResolverQueryLogConfig & WithCreationTime(Aws::String &&value)
ResolverQueryLogConfig & WithArn(const Aws::String &value)
ResolverQueryLogConfig & WithName(const Aws::String &value)
ResolverQueryLogConfig & WithArn(const char *value)
const ResolverQueryLogConfigStatus & GetStatus() const
ResolverQueryLogConfig & WithCreationTime(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue