AWS SDK for C++  1.9.175
AWS SDK for C++
ListResolverQueryLogConfigsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Route53Resolver
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
43  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 
51  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
52 
59  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 
67  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
68 
75  inline ListResolverQueryLogConfigsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 
83  inline ListResolverQueryLogConfigsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 
91  inline ListResolverQueryLogConfigsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 
93 
101  inline int GetTotalCount() const{ return m_totalCount; }
102 
110  inline void SetTotalCount(int value) { m_totalCount = value; }
111 
119  inline ListResolverQueryLogConfigsResult& WithTotalCount(int value) { SetTotalCount(value); return *this;}
120 
121 
129  inline int GetTotalFilteredCount() const{ return m_totalFilteredCount; }
130 
138  inline void SetTotalFilteredCount(int value) { m_totalFilteredCount = value; }
139 
147  inline ListResolverQueryLogConfigsResult& WithTotalFilteredCount(int value) { SetTotalFilteredCount(value); return *this;}
148 
149 
155  inline const Aws::Vector<ResolverQueryLogConfig>& GetResolverQueryLogConfigs() const{ return m_resolverQueryLogConfigs; }
156 
162  inline void SetResolverQueryLogConfigs(const Aws::Vector<ResolverQueryLogConfig>& value) { m_resolverQueryLogConfigs = value; }
163 
169  inline void SetResolverQueryLogConfigs(Aws::Vector<ResolverQueryLogConfig>&& value) { m_resolverQueryLogConfigs = std::move(value); }
170 
176  inline ListResolverQueryLogConfigsResult& WithResolverQueryLogConfigs(const Aws::Vector<ResolverQueryLogConfig>& value) { SetResolverQueryLogConfigs(value); return *this;}
177 
183  inline ListResolverQueryLogConfigsResult& WithResolverQueryLogConfigs(Aws::Vector<ResolverQueryLogConfig>&& value) { SetResolverQueryLogConfigs(std::move(value)); return *this;}
184 
190  inline ListResolverQueryLogConfigsResult& AddResolverQueryLogConfigs(const ResolverQueryLogConfig& value) { m_resolverQueryLogConfigs.push_back(value); return *this; }
191 
197  inline ListResolverQueryLogConfigsResult& AddResolverQueryLogConfigs(ResolverQueryLogConfig&& value) { m_resolverQueryLogConfigs.push_back(std::move(value)); return *this; }
198 
199  private:
200 
201  Aws::String m_nextToken;
202 
203  int m_totalCount;
204 
205  int m_totalFilteredCount;
206 
207  Aws::Vector<ResolverQueryLogConfig> m_resolverQueryLogConfigs;
208  };
209 
210 } // namespace Model
211 } // namespace Route53Resolver
212 } // namespace Aws
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::ListResolverQueryLogConfigsResult
ListResolverQueryLogConfigsResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::SetResolverQueryLogConfigs
void SetResolverQueryLogConfigs(const Aws::Vector< ResolverQueryLogConfig > &value)
Definition: ListResolverQueryLogConfigsResult.h:162
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::WithNextToken
ListResolverQueryLogConfigsResult & WithNextToken(Aws::String &&value)
Definition: ListResolverQueryLogConfigsResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListResolverQueryLogConfigsResult.h:43
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::WithNextToken
ListResolverQueryLogConfigsResult & WithNextToken(const char *value)
Definition: ListResolverQueryLogConfigsResult.h:91
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::SetTotalCount
void SetTotalCount(int value)
Definition: ListResolverQueryLogConfigsResult.h:110
AWSVector.h
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::GetTotalCount
int GetTotalCount() const
Definition: ListResolverQueryLogConfigsResult.h:101
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::SetTotalFilteredCount
void SetTotalFilteredCount(int value)
Definition: ListResolverQueryLogConfigsResult.h:138
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListResolverQueryLogConfigsResult.h:51
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::WithNextToken
ListResolverQueryLogConfigsResult & WithNextToken(const Aws::String &value)
Definition: ListResolverQueryLogConfigsResult.h:75
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::SetResolverQueryLogConfigs
void SetResolverQueryLogConfigs(Aws::Vector< ResolverQueryLogConfig > &&value)
Definition: ListResolverQueryLogConfigsResult.h:169
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::WithTotalFilteredCount
ListResolverQueryLogConfigsResult & WithTotalFilteredCount(int value)
Definition: ListResolverQueryLogConfigsResult.h:147
AWSString.h
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::WithResolverQueryLogConfigs
ListResolverQueryLogConfigsResult & WithResolverQueryLogConfigs(Aws::Vector< ResolverQueryLogConfig > &&value)
Definition: ListResolverQueryLogConfigsResult.h:183
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult
Definition: ListResolverQueryLogConfigsResult.h:30
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::WithResolverQueryLogConfigs
ListResolverQueryLogConfigsResult & WithResolverQueryLogConfigs(const Aws::Vector< ResolverQueryLogConfig > &value)
Definition: ListResolverQueryLogConfigsResult.h:176
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::ListResolverQueryLogConfigsResult
ListResolverQueryLogConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Route53Resolver::Model::ResolverQueryLogConfig
Definition: ResolverQueryLogConfig.h:43
ResolverQueryLogConfig.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::operator=
ListResolverQueryLogConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListResolverQueryLogConfigsResult.h:59
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::AddResolverQueryLogConfigs
ListResolverQueryLogConfigsResult & AddResolverQueryLogConfigs(ResolverQueryLogConfig &&value)
Definition: ListResolverQueryLogConfigsResult.h:197
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListResolverQueryLogConfigsResult.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::AddResolverQueryLogConfigs
ListResolverQueryLogConfigsResult & AddResolverQueryLogConfigs(const ResolverQueryLogConfig &value)
Definition: ListResolverQueryLogConfigsResult.h:190
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::GetResolverQueryLogConfigs
const Aws::Vector< ResolverQueryLogConfig > & GetResolverQueryLogConfigs() const
Definition: ListResolverQueryLogConfigsResult.h:155
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::WithTotalCount
ListResolverQueryLogConfigsResult & WithTotalCount(int value)
Definition: ListResolverQueryLogConfigsResult.h:119
Aws::Route53Resolver::Model::ListResolverQueryLogConfigsResult::GetTotalFilteredCount
int GetTotalFilteredCount() const
Definition: ListResolverQueryLogConfigsResult.h:129