AWS SDK for C++  1.9.108
AWS SDK for C++
ListEndpointsByPlatformApplicationResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
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 SNS
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<Aws::String>& GetEndpoints() const{ return m_endpoints; }
47 
51  inline void SetEndpoints(const Aws::Vector<Aws::String>& value) { m_endpoints = value; }
52 
56  inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpoints = std::move(value); }
57 
61  inline ListEndpointsByPlatformApplicationResult& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
62 
66  inline ListEndpointsByPlatformApplicationResult& WithEndpoints(Aws::Vector<Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
67 
71  inline ListEndpointsByPlatformApplicationResult& AddEndpoints(const Aws::String& value) { m_endpoints.push_back(value); return *this; }
72 
76  inline ListEndpointsByPlatformApplicationResult& AddEndpoints(Aws::String&& value) { m_endpoints.push_back(std::move(value)); return *this; }
77 
81  inline ListEndpointsByPlatformApplicationResult& AddEndpoints(const char* value) { m_endpoints.push_back(value); return *this; }
82 
83 
88  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 
94  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
95 
100  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
101 
106  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
107 
112  inline ListEndpointsByPlatformApplicationResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
118  inline ListEndpointsByPlatformApplicationResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
119 
124  inline ListEndpointsByPlatformApplicationResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
125 
126 
127 
128  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
129 
130 
131  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
132 
133 
134  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
135 
136 
137  inline ListEndpointsByPlatformApplicationResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
138 
139 
140  inline ListEndpointsByPlatformApplicationResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
141 
142  private:
143 
144  Aws::Vector<Aws::String> m_endpoints;
145 
146  Aws::String m_nextToken;
147 
148  ResponseMetadata m_responseMetadata;
149  };
150 
151 } // namespace Model
152 } // namespace SNS
153 } // namespace Aws
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEndpointsByPlatformApplicationResult.h:100
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::WithEndpoints
ListEndpointsByPlatformApplicationResult & WithEndpoints(Aws::Vector< Aws::String > &&value)
Definition: ListEndpointsByPlatformApplicationResult.h:66
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::SetEndpoints
void SetEndpoints(Aws::Vector< Aws::String > &&value)
Definition: ListEndpointsByPlatformApplicationResult.h:56
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListEndpointsByPlatformApplicationResult.h:106
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListEndpointsByPlatformApplicationResult.h:131
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::WithEndpoints
ListEndpointsByPlatformApplicationResult & WithEndpoints(const Aws::Vector< Aws::String > &value)
Definition: ListEndpointsByPlatformApplicationResult.h:61
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::AddEndpoints
ListEndpointsByPlatformApplicationResult & AddEndpoints(const char *value)
Definition: ListEndpointsByPlatformApplicationResult.h:81
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListEndpointsByPlatformApplicationResult.h:128
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::WithNextToken
ListEndpointsByPlatformApplicationResult & WithNextToken(const char *value)
Definition: ListEndpointsByPlatformApplicationResult.h:124
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::AddEndpoints
ListEndpointsByPlatformApplicationResult & AddEndpoints(const Aws::String &value)
Definition: ListEndpointsByPlatformApplicationResult.h:71
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::WithNextToken
ListEndpointsByPlatformApplicationResult & WithNextToken(Aws::String &&value)
Definition: ListEndpointsByPlatformApplicationResult.h:118
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::ListEndpointsByPlatformApplicationResult
ListEndpointsByPlatformApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResponseMetadata.h
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::ListEndpointsByPlatformApplicationResult
ListEndpointsByPlatformApplicationResult()
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEndpointsByPlatformApplicationResult.h:94
AWSString.h
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult
Definition: ListEndpointsByPlatformApplicationResult.h:36
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::WithResponseMetadata
ListEndpointsByPlatformApplicationResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListEndpointsByPlatformApplicationResult.h:140
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::WithResponseMetadata
ListEndpointsByPlatformApplicationResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListEndpointsByPlatformApplicationResult.h:137
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::AddEndpoints
ListEndpointsByPlatformApplicationResult & AddEndpoints(Aws::String &&value)
Definition: ListEndpointsByPlatformApplicationResult.h:76
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::operator=
ListEndpointsByPlatformApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::WithNextToken
ListEndpointsByPlatformApplicationResult & WithNextToken(const Aws::String &value)
Definition: ListEndpointsByPlatformApplicationResult.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::SetEndpoints
void SetEndpoints(const Aws::Vector< Aws::String > &value)
Definition: ListEndpointsByPlatformApplicationResult.h:51
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEndpointsByPlatformApplicationResult.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListEndpointsByPlatformApplicationResult.h:134
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::ListEndpointsByPlatformApplicationResult::GetEndpoints
const Aws::Vector< Aws::String > & GetEndpoints() const
Definition: ListEndpointsByPlatformApplicationResult.h:46