AWS SDK for C++  1.9.160
AWS SDK for C++
GetDomainNamesResult.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 APIGateway
26 {
27 namespace Model
28 {
38  {
39  public:
43 
44 
45 
46  inline const Aws::String& GetPosition() const{ return m_position; }
47 
48 
49  inline void SetPosition(const Aws::String& value) { m_position = value; }
50 
51 
52  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
53 
54 
55  inline void SetPosition(const char* value) { m_position.assign(value); }
56 
57 
58  inline GetDomainNamesResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
59 
60 
61  inline GetDomainNamesResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
62 
63 
64  inline GetDomainNamesResult& WithPosition(const char* value) { SetPosition(value); return *this;}
65 
66 
70  inline const Aws::Vector<DomainName>& GetItems() const{ return m_items; }
71 
75  inline void SetItems(const Aws::Vector<DomainName>& value) { m_items = value; }
76 
80  inline void SetItems(Aws::Vector<DomainName>&& value) { m_items = std::move(value); }
81 
85  inline GetDomainNamesResult& WithItems(const Aws::Vector<DomainName>& value) { SetItems(value); return *this;}
86 
90  inline GetDomainNamesResult& WithItems(Aws::Vector<DomainName>&& value) { SetItems(std::move(value)); return *this;}
91 
95  inline GetDomainNamesResult& AddItems(const DomainName& value) { m_items.push_back(value); return *this; }
96 
100  inline GetDomainNamesResult& AddItems(DomainName&& value) { m_items.push_back(std::move(value)); return *this; }
101 
102  private:
103 
104  Aws::String m_position;
105 
106  Aws::Vector<DomainName> m_items;
107  };
108 
109 } // namespace Model
110 } // namespace APIGateway
111 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetDomainNamesResult::operator=
GetDomainNamesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetDomainNamesResult::AddItems
GetDomainNamesResult & AddItems(const DomainName &value)
Definition: GetDomainNamesResult.h:95
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
DomainName.h
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::GetDomainNamesResult::GetDomainNamesResult
GetDomainNamesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetDomainNamesResult::WithPosition
GetDomainNamesResult & WithPosition(const Aws::String &value)
Definition: GetDomainNamesResult.h:58
AWSVector.h
Aws::APIGateway::Model::GetDomainNamesResult::SetPosition
void SetPosition(const char *value)
Definition: GetDomainNamesResult.h:55
Aws::APIGateway::Model::GetDomainNamesResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetDomainNamesResult.h:52
Aws::APIGateway::Model::GetDomainNamesResult::WithPosition
GetDomainNamesResult & WithPosition(Aws::String &&value)
Definition: GetDomainNamesResult.h:61
Aws::APIGateway::Model::GetDomainNamesResult::AddItems
GetDomainNamesResult & AddItems(DomainName &&value)
Definition: GetDomainNamesResult.h:100
Aws::APIGateway::Model::GetDomainNamesResult::SetItems
void SetItems(const Aws::Vector< DomainName > &value)
Definition: GetDomainNamesResult.h:75
Aws::APIGateway::Model::GetDomainNamesResult::WithItems
GetDomainNamesResult & WithItems(const Aws::Vector< DomainName > &value)
Definition: GetDomainNamesResult.h:85
AWSString.h
Aws::APIGateway::Model::GetDomainNamesResult
Definition: GetDomainNamesResult.h:38
Aws::APIGateway::Model::GetDomainNamesResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetDomainNamesResult.h:46
Aws::APIGateway::Model::DomainName
Definition: DomainName.h:50
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetDomainNamesResult::SetItems
void SetItems(Aws::Vector< DomainName > &&value)
Definition: GetDomainNamesResult.h:80
Aws::APIGateway::Model::GetDomainNamesResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetDomainNamesResult.h:49
Aws::APIGateway::Model::GetDomainNamesResult::GetItems
const Aws::Vector< DomainName > & GetItems() const
Definition: GetDomainNamesResult.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetDomainNamesResult::GetDomainNamesResult
GetDomainNamesResult()
Aws::APIGateway::Model::GetDomainNamesResult::WithItems
GetDomainNamesResult & WithItems(Aws::Vector< DomainName > &&value)
Definition: GetDomainNamesResult.h:90
Aws::APIGateway::Model::GetDomainNamesResult::WithPosition
GetDomainNamesResult & WithPosition(const char *value)
Definition: GetDomainNamesResult.h:64