AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
ListDomainsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/swf/SWF_EXPORTS.h>
11#include <aws/swf/model/DomainInfo.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SWF {
25namespace Model {
33 public:
34 AWS_SWF_API ListDomainsResult() = default;
37
39
42 inline const Aws::Vector<DomainInfo>& GetDomainInfos() const { return m_domainInfos; }
43 template <typename DomainInfosT = Aws::Vector<DomainInfo>>
44 void SetDomainInfos(DomainInfosT&& value) {
45 m_domainInfosHasBeenSet = true;
46 m_domainInfos = std::forward<DomainInfosT>(value);
47 }
48 template <typename DomainInfosT = Aws::Vector<DomainInfo>>
49 ListDomainsResult& WithDomainInfos(DomainInfosT&& value) {
50 SetDomainInfos(std::forward<DomainInfosT>(value));
51 return *this;
52 }
53 template <typename DomainInfosT = DomainInfo>
54 ListDomainsResult& AddDomainInfos(DomainInfosT&& value) {
55 m_domainInfosHasBeenSet = true;
56 m_domainInfos.emplace_back(std::forward<DomainInfosT>(value));
57 return *this;
58 }
60
62
69 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
70 template <typename NextPageTokenT = Aws::String>
71 void SetNextPageToken(NextPageTokenT&& value) {
72 m_nextPageTokenHasBeenSet = true;
73 m_nextPageToken = std::forward<NextPageTokenT>(value);
74 }
75 template <typename NextPageTokenT = Aws::String>
76 ListDomainsResult& WithNextPageToken(NextPageTokenT&& value) {
77 SetNextPageToken(std::forward<NextPageTokenT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 ListDomainsResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::Vector<DomainInfo> m_domainInfos;
100
101 Aws::String m_nextPageToken;
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_domainInfosHasBeenSet = false;
106 bool m_nextPageTokenHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace SWF
112} // namespace Aws
void SetRequestId(RequestIdT &&value)
AWS_SWF_API ListDomainsResult()=default
AWS_SWF_API ListDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDomainsResult & AddDomainInfos(DomainInfosT &&value)
const Aws::String & GetNextPageToken() const
AWS_SWF_API ListDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListDomainsResult & WithDomainInfos(DomainInfosT &&value)
const Aws::Vector< DomainInfo > & GetDomainInfos() const
ListDomainsResult & WithRequestId(RequestIdT &&value)
void SetNextPageToken(NextPageTokenT &&value)
ListDomainsResult & WithNextPageToken(NextPageTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetDomainInfos(DomainInfosT &&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