AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResolverQueryLogConfigAssociation.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/ResolverQueryLogConfigAssociationStatus.h>
10#include <aws/route53resolver/model/ResolverQueryLogConfigAssociationError.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
44 {
45 public:
46 AWS_ROUTE53RESOLVER_API ResolverQueryLogConfigAssociation();
49 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 inline ResolverQueryLogConfigAssociation& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline ResolverQueryLogConfigAssociation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline ResolverQueryLogConfigAssociation& WithId(const char* value) { SetId(value); return *this;}
65
67
70 inline const Aws::String& GetResolverQueryLogConfigId() const{ return m_resolverQueryLogConfigId; }
71 inline bool ResolverQueryLogConfigIdHasBeenSet() const { return m_resolverQueryLogConfigIdHasBeenSet; }
72 inline void SetResolverQueryLogConfigId(const Aws::String& value) { m_resolverQueryLogConfigIdHasBeenSet = true; m_resolverQueryLogConfigId = value; }
73 inline void SetResolverQueryLogConfigId(Aws::String&& value) { m_resolverQueryLogConfigIdHasBeenSet = true; m_resolverQueryLogConfigId = std::move(value); }
74 inline void SetResolverQueryLogConfigId(const char* value) { m_resolverQueryLogConfigIdHasBeenSet = true; m_resolverQueryLogConfigId.assign(value); }
79
81
85 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
86 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
87 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
88 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
89 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
90 inline ResolverQueryLogConfigAssociation& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
91 inline ResolverQueryLogConfigAssociation& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
92 inline ResolverQueryLogConfigAssociation& WithResourceId(const char* value) { SetResourceId(value); return *this;}
94
96
107 inline const ResolverQueryLogConfigAssociationStatus& GetStatus() const{ return m_status; }
108 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
109 inline void SetStatus(const ResolverQueryLogConfigAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
110 inline void SetStatus(ResolverQueryLogConfigAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
114
116
125 inline const ResolverQueryLogConfigAssociationError& GetError() const{ return m_error; }
126 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
127 inline void SetError(const ResolverQueryLogConfigAssociationError& value) { m_errorHasBeenSet = true; m_error = value; }
128 inline void SetError(ResolverQueryLogConfigAssociationError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
132
134
139 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
140 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
141 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
142 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
143 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
145 inline ResolverQueryLogConfigAssociation& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
146 inline ResolverQueryLogConfigAssociation& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
148
150
154 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
155 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
156 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
157 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
158 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
160 inline ResolverQueryLogConfigAssociation& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
161 inline ResolverQueryLogConfigAssociation& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
163 private:
164
165 Aws::String m_id;
166 bool m_idHasBeenSet = false;
167
168 Aws::String m_resolverQueryLogConfigId;
169 bool m_resolverQueryLogConfigIdHasBeenSet = false;
170
171 Aws::String m_resourceId;
172 bool m_resourceIdHasBeenSet = false;
173
175 bool m_statusHasBeenSet = false;
176
178 bool m_errorHasBeenSet = false;
179
180 Aws::String m_errorMessage;
181 bool m_errorMessageHasBeenSet = false;
182
183 Aws::String m_creationTime;
184 bool m_creationTimeHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace Route53Resolver
189} // namespace Aws
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfigAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ResolverQueryLogConfigAssociationStatus &value)
ResolverQueryLogConfigAssociation & WithId(Aws::String &&value)
ResolverQueryLogConfigAssociation & WithCreationTime(const char *value)
ResolverQueryLogConfigAssociation & WithError(ResolverQueryLogConfigAssociationError &&value)
ResolverQueryLogConfigAssociation & WithCreationTime(const Aws::String &value)
ResolverQueryLogConfigAssociation & WithId(const char *value)
ResolverQueryLogConfigAssociation & WithStatus(ResolverQueryLogConfigAssociationStatus &&value)
ResolverQueryLogConfigAssociation & WithErrorMessage(const Aws::String &value)
ResolverQueryLogConfigAssociation & WithResourceId(const char *value)
ResolverQueryLogConfigAssociation & WithResolverQueryLogConfigId(const char *value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
const ResolverQueryLogConfigAssociationError & GetError() const
ResolverQueryLogConfigAssociation & WithError(const ResolverQueryLogConfigAssociationError &value)
ResolverQueryLogConfigAssociation & WithResourceId(Aws::String &&value)
ResolverQueryLogConfigAssociation & WithErrorMessage(Aws::String &&value)
void SetError(const ResolverQueryLogConfigAssociationError &value)
ResolverQueryLogConfigAssociation & WithResolverQueryLogConfigId(Aws::String &&value)
const ResolverQueryLogConfigAssociationStatus & GetStatus() const
ResolverQueryLogConfigAssociation & WithErrorMessage(const char *value)
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfigAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolverQueryLogConfigAssociation & WithResourceId(const Aws::String &value)
ResolverQueryLogConfigAssociation & WithStatus(const ResolverQueryLogConfigAssociationStatus &value)
ResolverQueryLogConfigAssociation & WithResolverQueryLogConfigId(const Aws::String &value)
ResolverQueryLogConfigAssociation & WithId(const Aws::String &value)
ResolverQueryLogConfigAssociation & WithCreationTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue