AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResolverConfigsResult.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/ResolverConfig.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 ListResolverConfigsResult();
35
36
38
47 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
51 inline ListResolverConfigsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListResolverConfigsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListResolverConfigsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
62 inline const Aws::Vector<ResolverConfig>& GetResolverConfigs() const{ return m_resolverConfigs; }
63 inline void SetResolverConfigs(const Aws::Vector<ResolverConfig>& value) { m_resolverConfigs = value; }
64 inline void SetResolverConfigs(Aws::Vector<ResolverConfig>&& value) { m_resolverConfigs = std::move(value); }
67 inline ListResolverConfigsResult& AddResolverConfigs(const ResolverConfig& value) { m_resolverConfigs.push_back(value); return *this; }
68 inline ListResolverConfigsResult& AddResolverConfigs(ResolverConfig&& value) { m_resolverConfigs.push_back(std::move(value)); return *this; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline ListResolverConfigsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline ListResolverConfigsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline ListResolverConfigsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_nextToken;
84
85 Aws::Vector<ResolverConfig> m_resolverConfigs;
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace Route53Resolver
92} // namespace Aws
ListResolverConfigsResult & AddResolverConfigs(const ResolverConfig &value)
ListResolverConfigsResult & AddResolverConfigs(ResolverConfig &&value)
AWS_ROUTE53RESOLVER_API ListResolverConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResolverConfigs(const Aws::Vector< ResolverConfig > &value)
ListResolverConfigsResult & WithNextToken(const Aws::String &value)
ListResolverConfigsResult & WithResolverConfigs(Aws::Vector< ResolverConfig > &&value)
ListResolverConfigsResult & WithRequestId(Aws::String &&value)
ListResolverConfigsResult & WithResolverConfigs(const Aws::Vector< ResolverConfig > &value)
void SetResolverConfigs(Aws::Vector< ResolverConfig > &&value)
ListResolverConfigsResult & WithNextToken(const char *value)
AWS_ROUTE53RESOLVER_API ListResolverConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ResolverConfig > & GetResolverConfigs() const
ListResolverConfigsResult & WithRequestId(const Aws::String &value)
ListResolverConfigsResult & WithNextToken(Aws::String &&value)
ListResolverConfigsResult & WithRequestId(const char *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