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>
23namespace Route53Resolver
57 template<
typename IdT = Aws::String>
58 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
59 template<
typename IdT = Aws::String>
70 template<
typename OwnerIdT = Aws::String>
71 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
72 template<
typename OwnerIdT = Aws::String>
116 inline void SetAssociationCount(
int value) { m_associationCountHasBeenSet =
true; m_associationCount = value; }
126 template<
typename ArnT = Aws::String>
127 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
128 template<
typename ArnT = Aws::String>
138 template<
typename NameT = Aws::String>
139 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
140 template<
typename NameT = Aws::String>
152 template<
typename DestinationArnT = Aws::String>
153 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet =
true; m_destinationArn = std::forward<DestinationArnT>(value); }
154 template<
typename DestinationArnT = Aws::String>
166 template<
typename CreatorRequestIdT = Aws::String>
167 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
168 template<
typename CreatorRequestIdT = Aws::String>
179 template<
typename CreationTimeT = Aws::String>
180 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
181 template<
typename CreationTimeT = Aws::String>
187 bool m_idHasBeenSet =
false;
190 bool m_ownerIdHasBeenSet =
false;
193 bool m_statusHasBeenSet =
false;
196 bool m_shareStatusHasBeenSet =
false;
198 int m_associationCount{0};
199 bool m_associationCountHasBeenSet =
false;
202 bool m_arnHasBeenSet =
false;
205 bool m_nameHasBeenSet =
false;
208 bool m_destinationArnHasBeenSet =
false;
211 bool m_creatorRequestIdHasBeenSet =
false;
214 bool m_creationTimeHasBeenSet =
false;
const Aws::String & GetCreatorRequestId() const
const Aws::String & GetId() const
ResolverQueryLogConfig & WithShareStatus(ShareStatus value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOwnerId() const
bool OwnerIdHasBeenSet() const
void SetStatus(ResolverQueryLogConfigStatus value)
ResolverQueryLogConfig & WithId(IdT &&value)
bool CreatorRequestIdHasBeenSet() const
bool AssociationCountHasBeenSet() const
ResolverQueryLogConfigStatus GetStatus() const
void SetName(NameT &&value)
const Aws::String & GetName() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
ShareStatus GetShareStatus() const
int GetAssociationCount() const
void SetDestinationArn(DestinationArnT &&value)
ResolverQueryLogConfig & WithAssociationCount(int value)
bool ArnHasBeenSet() const
const Aws::String & GetCreationTime() const
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
const Aws::String & GetDestinationArn() const
bool NameHasBeenSet() const
bool StatusHasBeenSet() const
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfig()=default
void SetCreationTime(CreationTimeT &&value)
void SetOwnerId(OwnerIdT &&value)
void SetArn(ArnT &&value)
ResolverQueryLogConfig & WithOwnerId(OwnerIdT &&value)
ResolverQueryLogConfig & WithStatus(ResolverQueryLogConfigStatus value)
bool CreationTimeHasBeenSet() const
void SetAssociationCount(int value)
bool DestinationArnHasBeenSet() const
void SetShareStatus(ShareStatus value)
bool ShareStatusHasBeenSet() const
const Aws::String & GetArn() const
ResolverQueryLogConfig & WithCreatorRequestId(CreatorRequestIdT &&value)
ResolverQueryLogConfig & WithName(NameT &&value)
ResolverQueryLogConfig & WithDestinationArn(DestinationArnT &&value)
ResolverQueryLogConfig & WithCreationTime(CreationTimeT &&value)
ResolverQueryLogConfig & WithArn(ArnT &&value)
ResolverQueryLogConfigStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue