AWS SDK for C++  1.9.107
AWS SDK for C++
ListDomainsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SimpleDB
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Aws::String>& GetDomainNames() const{ return m_domainNames; }
41 
45  inline void SetDomainNames(const Aws::Vector<Aws::String>& value) { m_domainNames = value; }
46 
50  inline void SetDomainNames(Aws::Vector<Aws::String>&& value) { m_domainNames = std::move(value); }
51 
55  inline ListDomainsResult& WithDomainNames(const Aws::Vector<Aws::String>& value) { SetDomainNames(value); return *this;}
56 
60  inline ListDomainsResult& WithDomainNames(Aws::Vector<Aws::String>&& value) { SetDomainNames(std::move(value)); return *this;}
61 
65  inline ListDomainsResult& AddDomainNames(const Aws::String& value) { m_domainNames.push_back(value); return *this; }
66 
70  inline ListDomainsResult& AddDomainNames(Aws::String&& value) { m_domainNames.push_back(std::move(value)); return *this; }
71 
75  inline ListDomainsResult& AddDomainNames(const char* value) { m_domainNames.push_back(value); return *this; }
76 
77 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
94  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
95 
100  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 
106  inline ListDomainsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
112  inline ListDomainsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
118  inline ListDomainsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120 
121 
122  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
123 
124 
125  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
126 
127 
128  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
129 
130 
131  inline ListDomainsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
132 
133 
134  inline ListDomainsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
135 
136  private:
137 
138  Aws::Vector<Aws::String> m_domainNames;
139 
140  Aws::String m_nextToken;
141 
142  ResponseMetadata m_responseMetadata;
143  };
144 
145 } // namespace Model
146 } // namespace SimpleDB
147 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SimpleDB::Model::ListDomainsResult::WithNextToken
ListDomainsResult & WithNextToken(const Aws::String &value)
Definition: ListDomainsResult.h:106
Aws::SimpleDB::Model::ListDomainsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListDomainsResult.h:128
Aws::SimpleDB::Model::ListDomainsResult::WithNextToken
ListDomainsResult & WithNextToken(Aws::String &&value)
Definition: ListDomainsResult.h:112
Aws::SimpleDB::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SimpleDB::Model::ListDomainsResult::WithDomainNames
ListDomainsResult & WithDomainNames(Aws::Vector< Aws::String > &&value)
Definition: ListDomainsResult.h:60
Aws::SimpleDB::Model::ListDomainsResult::SetDomainNames
void SetDomainNames(Aws::Vector< Aws::String > &&value)
Definition: ListDomainsResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SimpleDB::Model::ListDomainsResult::WithDomainNames
ListDomainsResult & WithDomainNames(const Aws::Vector< Aws::String > &value)
Definition: ListDomainsResult.h:55
Aws::SimpleDB::Model::ListDomainsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDomainsResult.h:94
Aws::SimpleDB::Model::ListDomainsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListDomainsResult.h:125
Aws::SimpleDB::Model::ListDomainsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDomainsResult.h:88
Aws::SimpleDB::Model::ListDomainsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDomainsResult.h:100
Aws::SimpleDB::Model::ListDomainsResult::ListDomainsResult
ListDomainsResult()
Aws::SimpleDB::Model::ListDomainsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListDomainsResult.h:122
Aws::SimpleDB::Model::ListDomainsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDomainsResult.h:82
Aws::SimpleDB::Model::ListDomainsResult::WithResponseMetadata
ListDomainsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListDomainsResult.h:131
AWSString.h
Aws::SimpleDB::Model::ListDomainsResult::WithNextToken
ListDomainsResult & WithNextToken(const char *value)
Definition: ListDomainsResult.h:118
ResponseMetadata.h
Aws::SimpleDB::Model::ListDomainsResult::WithResponseMetadata
ListDomainsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListDomainsResult.h:134
Aws::SimpleDB::Model::ListDomainsResult::AddDomainNames
ListDomainsResult & AddDomainNames(const Aws::String &value)
Definition: ListDomainsResult.h:65
Aws::SimpleDB::Model::ListDomainsResult::operator=
ListDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::SimpleDB::Model::ListDomainsResult::SetDomainNames
void SetDomainNames(const Aws::Vector< Aws::String > &value)
Definition: ListDomainsResult.h:45
Aws::SimpleDB::Model::ListDomainsResult::ListDomainsResult
ListDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SIMPLEDB_API
#define AWS_SIMPLEDB_API
Definition: SimpleDB_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SimpleDB_EXPORTS.h
Aws::SimpleDB::Model::ListDomainsResult::AddDomainNames
ListDomainsResult & AddDomainNames(const char *value)
Definition: ListDomainsResult.h:75
Aws::SimpleDB::Model::ListDomainsResult::AddDomainNames
ListDomainsResult & AddDomainNames(Aws::String &&value)
Definition: ListDomainsResult.h:70
Aws::SimpleDB::Model::ListDomainsResult::GetDomainNames
const Aws::Vector< Aws::String > & GetDomainNames() const
Definition: ListDomainsResult.h:40
Aws::SimpleDB::Model::ListDomainsResult
Definition: ListDomainsResult.h:30