AWS SDK for C++  1.9.153
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 Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<DomainDetails>& GetDomains() const{ return m_domains; }
41 
45  inline void SetDomains(const Aws::Vector<DomainDetails>& value) { m_domains = value; }
46 
50  inline void SetDomains(Aws::Vector<DomainDetails>&& value) { m_domains = std::move(value); }
51 
55  inline ListDomainsResult& WithDomains(const Aws::Vector<DomainDetails>& value) { SetDomains(value); return *this;}
56 
60  inline ListDomainsResult& WithDomains(Aws::Vector<DomainDetails>&& value) { SetDomains(std::move(value)); return *this;}
61 
65  inline ListDomainsResult& AddDomains(const DomainDetails& value) { m_domains.push_back(value); return *this; }
66 
70  inline ListDomainsResult& AddDomains(DomainDetails&& value) { m_domains.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListDomainsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListDomainsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListDomainsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<DomainDetails> m_domains;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace SageMaker
124 } // namespace Aws
Aws::SageMaker::Model::ListDomainsResult::AddDomains
ListDomainsResult & AddDomains(DomainDetails &&value)
Definition: ListDomainsResult.h:70
DomainDetails.h
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DomainDetails
Definition: DomainDetails.h:34
Aws::SageMaker::Model::ListDomainsResult::AddDomains
ListDomainsResult & AddDomains(const DomainDetails &value)
Definition: ListDomainsResult.h:65
Aws::SageMaker::Model::ListDomainsResult::WithNextToken
ListDomainsResult & WithNextToken(const char *value)
Definition: ListDomainsResult.h:113
Aws::SageMaker::Model::ListDomainsResult::ListDomainsResult
ListDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListDomainsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDomainsResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::ListDomainsResult::WithDomains
ListDomainsResult & WithDomains(Aws::Vector< DomainDetails > &&value)
Definition: ListDomainsResult.h:60
Aws::SageMaker::Model::ListDomainsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDomainsResult.h:95
Aws::SageMaker::Model::ListDomainsResult::WithNextToken
ListDomainsResult & WithNextToken(const Aws::String &value)
Definition: ListDomainsResult.h:101
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListDomainsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDomainsResult.h:89
Aws::SageMaker::Model::ListDomainsResult::operator=
ListDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SageMaker::Model::ListDomainsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDomainsResult.h:77
Aws::SageMaker::Model::ListDomainsResult::WithNextToken
ListDomainsResult & WithNextToken(Aws::String &&value)
Definition: ListDomainsResult.h:107
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListDomainsResult::ListDomainsResult
ListDomainsResult()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListDomainsResult::GetDomains
const Aws::Vector< DomainDetails > & GetDomains() const
Definition: ListDomainsResult.h:40
Aws::SageMaker::Model::ListDomainsResult::WithDomains
ListDomainsResult & WithDomains(const Aws::Vector< DomainDetails > &value)
Definition: ListDomainsResult.h:55
Aws::SageMaker::Model::ListDomainsResult::SetDomains
void SetDomains(Aws::Vector< DomainDetails > &&value)
Definition: ListDomainsResult.h:50
Aws::SageMaker::Model::ListDomainsResult
Definition: ListDomainsResult.h:30
Aws::SageMaker::Model::ListDomainsResult::SetDomains
void SetDomains(const Aws::Vector< DomainDetails > &value)
Definition: ListDomainsResult.h:45