AWS SDK for C++  1.9.103
AWS SDK for C++
ListPlatformApplicationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace SNS
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<PlatformApplication>& GetPlatformApplications() const{ return m_platformApplications; }
48 
53  inline void SetPlatformApplications(const Aws::Vector<PlatformApplication>& value) { m_platformApplications = value; }
54 
59  inline void SetPlatformApplications(Aws::Vector<PlatformApplication>&& value) { m_platformApplications = std::move(value); }
60 
65  inline ListPlatformApplicationsResult& WithPlatformApplications(const Aws::Vector<PlatformApplication>& value) { SetPlatformApplications(value); return *this;}
66 
71  inline ListPlatformApplicationsResult& WithPlatformApplications(Aws::Vector<PlatformApplication>&& value) { SetPlatformApplications(std::move(value)); return *this;}
72 
77  inline ListPlatformApplicationsResult& AddPlatformApplications(const PlatformApplication& value) { m_platformApplications.push_back(value); return *this; }
78 
83  inline ListPlatformApplicationsResult& AddPlatformApplications(PlatformApplication&& value) { m_platformApplications.push_back(std::move(value)); return *this; }
84 
85 
90  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
91 
96  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
97 
102  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
103 
108  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
109 
114  inline ListPlatformApplicationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
115 
120  inline ListPlatformApplicationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
121 
126  inline ListPlatformApplicationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128 
129 
130  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
131 
132 
133  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
134 
135 
136  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
137 
138 
139  inline ListPlatformApplicationsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
140 
141 
142  inline ListPlatformApplicationsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
143 
144  private:
145 
146  Aws::Vector<PlatformApplication> m_platformApplications;
147 
148  Aws::String m_nextToken;
149 
150  ResponseMetadata m_responseMetadata;
151  };
152 
153 } // namespace Model
154 } // namespace SNS
155 } // namespace Aws
Aws::SNS::Model::ListPlatformApplicationsResult::WithNextToken
ListPlatformApplicationsResult & WithNextToken(const char *value)
Definition: ListPlatformApplicationsResult.h:126
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::ListPlatformApplicationsResult::WithNextToken
ListPlatformApplicationsResult & WithNextToken(Aws::String &&value)
Definition: ListPlatformApplicationsResult.h:120
Aws::SNS::Model::ListPlatformApplicationsResult::GetPlatformApplications
const Aws::Vector< PlatformApplication > & GetPlatformApplications() const
Definition: ListPlatformApplicationsResult.h:47
Aws::SNS::Model::ListPlatformApplicationsResult::WithPlatformApplications
ListPlatformApplicationsResult & WithPlatformApplications(Aws::Vector< PlatformApplication > &&value)
Definition: ListPlatformApplicationsResult.h:71
Aws::SNS::Model::ListPlatformApplicationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPlatformApplicationsResult.h:96
Aws::SNS::Model::ListPlatformApplicationsResult::WithResponseMetadata
ListPlatformApplicationsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListPlatformApplicationsResult.h:142
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SNS::Model::ListPlatformApplicationsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListPlatformApplicationsResult.h:133
Aws::SNS::Model::ListPlatformApplicationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPlatformApplicationsResult.h:102
AWSVector.h
Aws::SNS::Model::ListPlatformApplicationsResult::ListPlatformApplicationsResult
ListPlatformApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::ListPlatformApplicationsResult::WithNextToken
ListPlatformApplicationsResult & WithNextToken(const Aws::String &value)
Definition: ListPlatformApplicationsResult.h:114
Aws::SNS::Model::ListPlatformApplicationsResult::operator=
ListPlatformApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
PlatformApplication.h
Aws::SNS::Model::ListPlatformApplicationsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListPlatformApplicationsResult.h:130
ResponseMetadata.h
Aws::SNS::Model::ListPlatformApplicationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPlatformApplicationsResult.h:108
AWSString.h
Aws::SNS::Model::ListPlatformApplicationsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListPlatformApplicationsResult.h:136
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
Aws::SNS::Model::ListPlatformApplicationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPlatformApplicationsResult.h:90
SNS_EXPORTS.h
Aws::SNS::Model::ListPlatformApplicationsResult::SetPlatformApplications
void SetPlatformApplications(Aws::Vector< PlatformApplication > &&value)
Definition: ListPlatformApplicationsResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::PlatformApplication
Definition: PlatformApplication.h:33
Aws::SNS::Model::ListPlatformApplicationsResult::AddPlatformApplications
ListPlatformApplicationsResult & AddPlatformApplications(const PlatformApplication &value)
Definition: ListPlatformApplicationsResult.h:77
Aws::SNS::Model::ListPlatformApplicationsResult::ListPlatformApplicationsResult
ListPlatformApplicationsResult()
Aws::SNS::Model::ListPlatformApplicationsResult::SetPlatformApplications
void SetPlatformApplications(const Aws::Vector< PlatformApplication > &value)
Definition: ListPlatformApplicationsResult.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::ListPlatformApplicationsResult::WithResponseMetadata
ListPlatformApplicationsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListPlatformApplicationsResult.h:139
Aws::SNS::Model::ListPlatformApplicationsResult
Definition: ListPlatformApplicationsResult.h:36
Aws::SNS::Model::ListPlatformApplicationsResult::AddPlatformApplications
ListPlatformApplicationsResult & AddPlatformApplications(PlatformApplication &&value)
Definition: ListPlatformApplicationsResult.h:83
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::ListPlatformApplicationsResult::WithPlatformApplications
ListPlatformApplicationsResult & WithPlatformApplications(const Aws::Vector< PlatformApplication > &value)
Definition: ListPlatformApplicationsResult.h:65