AWS SDK for C++

AWS SDK for C++ Version 1.11.756

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