AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListDomainsResult.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53domains/model/DomainSummary.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 Route53Domains
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ROUTE53DOMAINS_API ListDomainsResult() = default;
41
42
44
47 inline const Aws::Vector<DomainSummary>& GetDomains() const { return m_domains; }
48 template<typename DomainsT = Aws::Vector<DomainSummary>>
49 void SetDomains(DomainsT&& value) { m_domainsHasBeenSet = true; m_domains = std::forward<DomainsT>(value); }
50 template<typename DomainsT = Aws::Vector<DomainSummary>>
51 ListDomainsResult& WithDomains(DomainsT&& value) { SetDomains(std::forward<DomainsT>(value)); return *this;}
52 template<typename DomainsT = DomainSummary>
53 ListDomainsResult& AddDomains(DomainsT&& value) { m_domainsHasBeenSet = true; m_domains.emplace_back(std::forward<DomainsT>(value)); return *this; }
55
57
62 inline const Aws::String& GetNextPageMarker() const { return m_nextPageMarker; }
63 template<typename NextPageMarkerT = Aws::String>
64 void SetNextPageMarker(NextPageMarkerT&& value) { m_nextPageMarkerHasBeenSet = true; m_nextPageMarker = std::forward<NextPageMarkerT>(value); }
65 template<typename NextPageMarkerT = Aws::String>
66 ListDomainsResult& WithNextPageMarker(NextPageMarkerT&& value) { SetNextPageMarker(std::forward<NextPageMarkerT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 ListDomainsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
80 bool m_domainsHasBeenSet = false;
81
82 Aws::String m_nextPageMarker;
83 bool m_nextPageMarkerHasBeenSet = false;
84
85 Aws::String m_requestId;
86 bool m_requestIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Route53Domains
91} // namespace Aws
ListDomainsResult & WithRequestId(RequestIdT &&value)
ListDomainsResult & AddDomains(DomainsT &&value)
const Aws::Vector< DomainSummary > & GetDomains() const
AWS_ROUTE53DOMAINS_API ListDomainsResult()=default
AWS_ROUTE53DOMAINS_API ListDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDomainsResult & WithNextPageMarker(NextPageMarkerT &&value)
void SetNextPageMarker(NextPageMarkerT &&value)
AWS_ROUTE53DOMAINS_API ListDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDomainsResult & WithDomains(DomainsT &&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