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>
23namespace Route53Resolver
58 template<
typename IdT = Aws::String>
59 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
60 template<
typename IdT = Aws::String>
70 template<
typename ResolverQueryLogConfigIdT = Aws::String>
71 void SetResolverQueryLogConfigId(ResolverQueryLogConfigIdT&& value) { m_resolverQueryLogConfigIdHasBeenSet =
true; m_resolverQueryLogConfigId = std::forward<ResolverQueryLogConfigIdT>(value); }
72 template<
typename ResolverQueryLogConfigIdT = Aws::String>
83 template<
typename ResourceIdT = Aws::String>
84 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
85 template<
typename ResourceIdT = Aws::String>
131 template<
typename ErrorMessageT = Aws::String>
132 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
133 template<
typename ErrorMessageT = Aws::String>
144 template<
typename CreationTimeT = Aws::String>
145 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
146 template<
typename CreationTimeT = Aws::String>
152 bool m_idHasBeenSet =
false;
155 bool m_resolverQueryLogConfigIdHasBeenSet =
false;
158 bool m_resourceIdHasBeenSet =
false;
161 bool m_statusHasBeenSet =
false;
164 bool m_errorHasBeenSet =
false;
167 bool m_errorMessageHasBeenSet =
false;
170 bool m_creationTimeHasBeenSet =
false;
void SetResourceId(ResourceIdT &&value)
bool IdHasBeenSet() const
ResolverQueryLogConfigAssociation & WithError(ResolverQueryLogConfigAssociationError value)
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfigAssociation(Aws::Utils::Json::JsonView jsonValue)
ResolverQueryLogConfigAssociation & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetErrorMessage() const
const Aws::String & GetCreationTime() const
ResolverQueryLogConfigAssociation & WithStatus(ResolverQueryLogConfigAssociationStatus value)
void SetErrorMessage(ErrorMessageT &&value)
bool ResourceIdHasBeenSet() const
bool CreationTimeHasBeenSet() const
bool ErrorHasBeenSet() const
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfigAssociation()=default
ResolverQueryLogConfigAssociation & WithResourceId(ResourceIdT &&value)
const Aws::String & GetResolverQueryLogConfigId() const
bool ErrorMessageHasBeenSet() const
ResolverQueryLogConfigAssociationError GetError() const
AWS_ROUTE53RESOLVER_API ResolverQueryLogConfigAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResolverQueryLogConfigIdHasBeenSet() const
ResolverQueryLogConfigAssociationStatus GetStatus() const
ResolverQueryLogConfigAssociation & WithResolverQueryLogConfigId(ResolverQueryLogConfigIdT &&value)
void SetCreationTime(CreationTimeT &&value)
ResolverQueryLogConfigAssociation & WithErrorMessage(ErrorMessageT &&value)
bool StatusHasBeenSet() const
ResolverQueryLogConfigAssociation & WithId(IdT &&value)
void SetStatus(ResolverQueryLogConfigAssociationStatus value)
const Aws::String & GetId() const
void SetResolverQueryLogConfigId(ResolverQueryLogConfigIdT &&value)
const Aws::String & GetResourceId() const
void SetError(ResolverQueryLogConfigAssociationError value)
ResolverQueryLogConfigAssociationError
ResolverQueryLogConfigAssociationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue