AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResolverRulesResult.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53resolver/model/ResolverRule.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Route53Resolver
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ROUTE53RESOLVER_API ListResolverRulesResult();
35
36
38
44 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
46 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
47 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
48 inline ListResolverRulesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
49 inline ListResolverRulesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
50 inline ListResolverRulesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
52
54
57 inline int GetMaxResults() const{ return m_maxResults; }
58 inline void SetMaxResults(int value) { m_maxResults = value; }
59 inline ListResolverRulesResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
67 inline const Aws::Vector<ResolverRule>& GetResolverRules() const{ return m_resolverRules; }
68 inline void SetResolverRules(const Aws::Vector<ResolverRule>& value) { m_resolverRules = value; }
69 inline void SetResolverRules(Aws::Vector<ResolverRule>&& value) { m_resolverRules = std::move(value); }
71 inline ListResolverRulesResult& WithResolverRules(Aws::Vector<ResolverRule>&& value) { SetResolverRules(std::move(value)); return *this;}
72 inline ListResolverRulesResult& AddResolverRules(const ResolverRule& value) { m_resolverRules.push_back(value); return *this; }
73 inline ListResolverRulesResult& AddResolverRules(ResolverRule&& value) { m_resolverRules.push_back(std::move(value)); return *this; }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline ListResolverRulesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline ListResolverRulesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline ListResolverRulesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_nextToken;
89
90 int m_maxResults;
91
92 Aws::Vector<ResolverRule> m_resolverRules;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace Route53Resolver
99} // namespace Aws
ListResolverRulesResult & WithNextToken(const Aws::String &value)
void SetResolverRules(const Aws::Vector< ResolverRule > &value)
ListResolverRulesResult & WithRequestId(Aws::String &&value)
ListResolverRulesResult & WithRequestId(const Aws::String &value)
ListResolverRulesResult & WithNextToken(const char *value)
const Aws::Vector< ResolverRule > & GetResolverRules() const
ListResolverRulesResult & WithResolverRules(Aws::Vector< ResolverRule > &&value)
AWS_ROUTE53RESOLVER_API ListResolverRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53RESOLVER_API ListResolverRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListResolverRulesResult & AddResolverRules(ResolverRule &&value)
void SetResolverRules(Aws::Vector< ResolverRule > &&value)
ListResolverRulesResult & WithRequestId(const char *value)
ListResolverRulesResult & WithNextToken(Aws::String &&value)
ListResolverRulesResult & AddResolverRules(const ResolverRule &value)
ListResolverRulesResult & WithResolverRules(const Aws::Vector< ResolverRule > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue