AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResolverEndpointsResult.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/ResolverEndpoint.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 ListResolverEndpointsResult();
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 ListResolverEndpointsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
49 inline ListResolverEndpointsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
50 inline ListResolverEndpointsResult& 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 ListResolverEndpointsResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
67 inline const Aws::Vector<ResolverEndpoint>& GetResolverEndpoints() const{ return m_resolverEndpoints; }
68 inline void SetResolverEndpoints(const Aws::Vector<ResolverEndpoint>& value) { m_resolverEndpoints = value; }
69 inline void SetResolverEndpoints(Aws::Vector<ResolverEndpoint>&& value) { m_resolverEndpoints = std::move(value); }
72 inline ListResolverEndpointsResult& AddResolverEndpoints(const ResolverEndpoint& value) { m_resolverEndpoints.push_back(value); return *this; }
73 inline ListResolverEndpointsResult& AddResolverEndpoints(ResolverEndpoint&& value) { m_resolverEndpoints.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 ListResolverEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline ListResolverEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline ListResolverEndpointsResult& 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<ResolverEndpoint> m_resolverEndpoints;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace Route53Resolver
99} // namespace Aws
ListResolverEndpointsResult & AddResolverEndpoints(ResolverEndpoint &&value)
ListResolverEndpointsResult & WithRequestId(const Aws::String &value)
ListResolverEndpointsResult & AddResolverEndpoints(const ResolverEndpoint &value)
ListResolverEndpointsResult & WithResolverEndpoints(Aws::Vector< ResolverEndpoint > &&value)
ListResolverEndpointsResult & WithResolverEndpoints(const Aws::Vector< ResolverEndpoint > &value)
AWS_ROUTE53RESOLVER_API ListResolverEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ResolverEndpoint > & GetResolverEndpoints() const
ListResolverEndpointsResult & WithNextToken(Aws::String &&value)
ListResolverEndpointsResult & WithNextToken(const Aws::String &value)
void SetResolverEndpoints(const Aws::Vector< ResolverEndpoint > &value)
ListResolverEndpointsResult & WithRequestId(Aws::String &&value)
ListResolverEndpointsResult & WithNextToken(const char *value)
ListResolverEndpointsResult & WithRequestId(const char *value)
AWS_ROUTE53RESOLVER_API ListResolverEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResolverEndpoints(Aws::Vector< ResolverEndpoint > &&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