AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDomainsResult.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/swf/model/DomainInfo.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 SWF
26{
27namespace Model
28{
36 {
37 public:
38 AWS_SWF_API ListDomainsResult();
41
42
44
47 inline const Aws::Vector<DomainInfo>& GetDomainInfos() const{ return m_domainInfos; }
48 inline void SetDomainInfos(const Aws::Vector<DomainInfo>& value) { m_domainInfos = value; }
49 inline void SetDomainInfos(Aws::Vector<DomainInfo>&& value) { m_domainInfos = std::move(value); }
50 inline ListDomainsResult& WithDomainInfos(const Aws::Vector<DomainInfo>& value) { SetDomainInfos(value); return *this;}
51 inline ListDomainsResult& WithDomainInfos(Aws::Vector<DomainInfo>&& value) { SetDomainInfos(std::move(value)); return *this;}
52 inline ListDomainsResult& AddDomainInfos(const DomainInfo& value) { m_domainInfos.push_back(value); return *this; }
53 inline ListDomainsResult& AddDomainInfos(DomainInfo&& value) { m_domainInfos.push_back(std::move(value)); return *this; }
55
57
64 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
65 inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
66 inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
67 inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
68 inline ListDomainsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
69 inline ListDomainsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
70 inline ListDomainsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline ListDomainsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline ListDomainsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline ListDomainsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::Vector<DomainInfo> m_domainInfos;
86
87 Aws::String m_nextPageToken;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace SWF
94} // namespace Aws
ListDomainsResult & WithNextPageToken(Aws::String &&value)
ListDomainsResult & AddDomainInfos(const DomainInfo &value)
ListDomainsResult & WithNextPageToken(const char *value)
void SetDomainInfos(const Aws::Vector< DomainInfo > &value)
AWS_SWF_API ListDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDomainsResult & WithNextPageToken(const Aws::String &value)
void SetNextPageToken(const char *value)
const Aws::String & GetNextPageToken() const
AWS_SWF_API ListDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
ListDomainsResult & WithRequestId(const char *value)
void SetDomainInfos(Aws::Vector< DomainInfo > &&value)
void SetNextPageToken(const Aws::String &value)
void SetRequestId(const char *value)
ListDomainsResult & WithRequestId(const Aws::String &value)
void SetNextPageToken(Aws::String &&value)
const Aws::Vector< DomainInfo > & GetDomainInfos() const
ListDomainsResult & WithRequestId(Aws::String &&value)
ListDomainsResult & AddDomainInfos(DomainInfo &&value)
ListDomainsResult & WithDomainInfos(Aws::Vector< DomainInfo > &&value)
ListDomainsResult & WithDomainInfos(const Aws::Vector< DomainInfo > &value)
void SetRequestId(Aws::String &&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