AWS SDK for C++  1.9.104
AWS SDK for C++
ListSMSSandboxPhoneNumbersResult.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 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<SMSSandboxPhoneNumber>& GetPhoneNumbers() const{ return m_phoneNumbers; }
42 
46  inline void SetPhoneNumbers(const Aws::Vector<SMSSandboxPhoneNumber>& value) { m_phoneNumbers = value; }
47 
51  inline void SetPhoneNumbers(Aws::Vector<SMSSandboxPhoneNumber>&& value) { m_phoneNumbers = std::move(value); }
52 
56  inline ListSMSSandboxPhoneNumbersResult& WithPhoneNumbers(const Aws::Vector<SMSSandboxPhoneNumber>& value) { SetPhoneNumbers(value); return *this;}
57 
61  inline ListSMSSandboxPhoneNumbersResult& WithPhoneNumbers(Aws::Vector<SMSSandboxPhoneNumber>&& value) { SetPhoneNumbers(std::move(value)); return *this;}
62 
66  inline ListSMSSandboxPhoneNumbersResult& AddPhoneNumbers(const SMSSandboxPhoneNumber& value) { m_phoneNumbers.push_back(value); return *this; }
67 
71  inline ListSMSSandboxPhoneNumbersResult& AddPhoneNumbers(SMSSandboxPhoneNumber&& value) { m_phoneNumbers.push_back(std::move(value)); return *this; }
72 
73 
79  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 
86  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
87 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
100  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 
107  inline ListSMSSandboxPhoneNumbersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
114  inline ListSMSSandboxPhoneNumbersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
121  inline ListSMSSandboxPhoneNumbersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
122 
123 
124 
125  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
126 
127 
128  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
129 
130 
131  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
132 
133 
134  inline ListSMSSandboxPhoneNumbersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
135 
136 
137  inline ListSMSSandboxPhoneNumbersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
138 
139  private:
140 
141  Aws::Vector<SMSSandboxPhoneNumber> m_phoneNumbers;
142 
143  Aws::String m_nextToken;
144 
145  ResponseMetadata m_responseMetadata;
146  };
147 
148 } // namespace Model
149 } // namespace SNS
150 } // namespace Aws
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::GetPhoneNumbers
const Aws::Vector< SMSSandboxPhoneNumber > & GetPhoneNumbers() const
Definition: ListSMSSandboxPhoneNumbersResult.h:41
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::AddPhoneNumbers
ListSMSSandboxPhoneNumbersResult & AddPhoneNumbers(const SMSSandboxPhoneNumber &value)
Definition: ListSMSSandboxPhoneNumbersResult.h:66
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListSMSSandboxPhoneNumbersResult.h:125
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::WithNextToken
ListSMSSandboxPhoneNumbersResult & WithNextToken(Aws::String &&value)
Definition: ListSMSSandboxPhoneNumbersResult.h:114
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::ListSMSSandboxPhoneNumbersResult
ListSMSSandboxPhoneNumbersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult
Definition: ListSMSSandboxPhoneNumbersResult.h:31
SMSSandboxPhoneNumber.h
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSMSSandboxPhoneNumbersResult.h:100
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::WithResponseMetadata
ListSMSSandboxPhoneNumbersResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListSMSSandboxPhoneNumbersResult.h:137
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::WithResponseMetadata
ListSMSSandboxPhoneNumbersResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListSMSSandboxPhoneNumbersResult.h:134
AWSVector.h
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::WithNextToken
ListSMSSandboxPhoneNumbersResult & WithNextToken(const Aws::String &value)
Definition: ListSMSSandboxPhoneNumbersResult.h:107
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListSMSSandboxPhoneNumbersResult.h:128
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::WithPhoneNumbers
ListSMSSandboxPhoneNumbersResult & WithPhoneNumbers(Aws::Vector< SMSSandboxPhoneNumber > &&value)
Definition: ListSMSSandboxPhoneNumbersResult.h:61
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListSMSSandboxPhoneNumbersResult.h:131
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSMSSandboxPhoneNumbersResult.h:86
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::SetPhoneNumbers
void SetPhoneNumbers(const Aws::Vector< SMSSandboxPhoneNumber > &value)
Definition: ListSMSSandboxPhoneNumbersResult.h:46
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::AddPhoneNumbers
ListSMSSandboxPhoneNumbersResult & AddPhoneNumbers(SMSSandboxPhoneNumber &&value)
Definition: ListSMSSandboxPhoneNumbersResult.h:71
ResponseMetadata.h
Aws::SNS::Model::SMSSandboxPhoneNumber
Definition: SMSSandboxPhoneNumber.h:43
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSMSSandboxPhoneNumbersResult.h:79
AWSString.h
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::ListSMSSandboxPhoneNumbersResult
ListSMSSandboxPhoneNumbersResult()
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::operator=
ListSMSSandboxPhoneNumbersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::WithNextToken
ListSMSSandboxPhoneNumbersResult & WithNextToken(const char *value)
Definition: ListSMSSandboxPhoneNumbersResult.h:121
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::WithPhoneNumbers
ListSMSSandboxPhoneNumbersResult & WithPhoneNumbers(const Aws::Vector< SMSSandboxPhoneNumber > &value)
Definition: ListSMSSandboxPhoneNumbersResult.h:56
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::SetPhoneNumbers
void SetPhoneNumbers(Aws::Vector< SMSSandboxPhoneNumber > &&value)
Definition: ListSMSSandboxPhoneNumbersResult.h:51
Aws::SNS::Model::ListSMSSandboxPhoneNumbersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSMSSandboxPhoneNumbersResult.h:93