AWS SDK for C++  1.9.160
AWS SDK for C++
ListSuppressedDestinationsResult.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 SESV2
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
46  inline const Aws::Vector<SuppressedDestinationSummary>& GetSuppressedDestinationSummaries() const{ return m_suppressedDestinationSummaries; }
47 
52  inline void SetSuppressedDestinationSummaries(const Aws::Vector<SuppressedDestinationSummary>& value) { m_suppressedDestinationSummaries = value; }
53 
58  inline void SetSuppressedDestinationSummaries(Aws::Vector<SuppressedDestinationSummary>&& value) { m_suppressedDestinationSummaries = std::move(value); }
59 
64  inline ListSuppressedDestinationsResult& WithSuppressedDestinationSummaries(const Aws::Vector<SuppressedDestinationSummary>& value) { SetSuppressedDestinationSummaries(value); return *this;}
65 
70  inline ListSuppressedDestinationsResult& WithSuppressedDestinationSummaries(Aws::Vector<SuppressedDestinationSummary>&& value) { SetSuppressedDestinationSummaries(std::move(value)); return *this;}
71 
76  inline ListSuppressedDestinationsResult& AddSuppressedDestinationSummaries(const SuppressedDestinationSummary& value) { m_suppressedDestinationSummaries.push_back(value); return *this; }
77 
82  inline ListSuppressedDestinationsResult& AddSuppressedDestinationSummaries(SuppressedDestinationSummary&& value) { m_suppressedDestinationSummaries.push_back(std::move(value)); return *this; }
83 
84 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
99  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
100 
107  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
108 
115  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
116 
123  inline ListSuppressedDestinationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
124 
131  inline ListSuppressedDestinationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
139  inline ListSuppressedDestinationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
140 
141  private:
142 
143  Aws::Vector<SuppressedDestinationSummary> m_suppressedDestinationSummaries;
144 
145  Aws::String m_nextToken;
146  };
147 
148 } // namespace Model
149 } // namespace SESV2
150 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SESV2::Model::ListSuppressedDestinationsResult::SetSuppressedDestinationSummaries
void SetSuppressedDestinationSummaries(const Aws::Vector< SuppressedDestinationSummary > &value)
Definition: ListSuppressedDestinationsResult.h:52
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListSuppressedDestinationsResult::SetSuppressedDestinationSummaries
void SetSuppressedDestinationSummaries(Aws::Vector< SuppressedDestinationSummary > &&value)
Definition: ListSuppressedDestinationsResult.h:58
SuppressedDestinationSummary.h
Aws::SESV2::Model::ListSuppressedDestinationsResult::ListSuppressedDestinationsResult
ListSuppressedDestinationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::ListSuppressedDestinationsResult::AddSuppressedDestinationSummaries
ListSuppressedDestinationsResult & AddSuppressedDestinationSummaries(const SuppressedDestinationSummary &value)
Definition: ListSuppressedDestinationsResult.h:76
Aws::SESV2::Model::ListSuppressedDestinationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSuppressedDestinationsResult.h:115
Aws::SESV2::Model::ListSuppressedDestinationsResult::ListSuppressedDestinationsResult
ListSuppressedDestinationsResult()
Aws::SESV2::Model::ListSuppressedDestinationsResult::operator=
ListSuppressedDestinationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListSuppressedDestinationsResult::WithSuppressedDestinationSummaries
ListSuppressedDestinationsResult & WithSuppressedDestinationSummaries(const Aws::Vector< SuppressedDestinationSummary > &value)
Definition: ListSuppressedDestinationsResult.h:64
Aws::SESV2::Model::ListSuppressedDestinationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSuppressedDestinationsResult.h:99
Aws::SESV2::Model::ListSuppressedDestinationsResult::WithNextToken
ListSuppressedDestinationsResult & WithNextToken(const char *value)
Definition: ListSuppressedDestinationsResult.h:139
AWSString.h
Aws::SESV2::Model::ListSuppressedDestinationsResult::WithNextToken
ListSuppressedDestinationsResult & WithNextToken(const Aws::String &value)
Definition: ListSuppressedDestinationsResult.h:123
Aws::SESV2::Model::ListSuppressedDestinationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSuppressedDestinationsResult.h:107
SESV2_EXPORTS.h
Aws::SESV2::Model::ListSuppressedDestinationsResult
Definition: ListSuppressedDestinationsResult.h:35
Aws::SESV2::Model::ListSuppressedDestinationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSuppressedDestinationsResult.h:91
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListSuppressedDestinationsResult::WithSuppressedDestinationSummaries
ListSuppressedDestinationsResult & WithSuppressedDestinationSummaries(Aws::Vector< SuppressedDestinationSummary > &&value)
Definition: ListSuppressedDestinationsResult.h:70
Aws::SESV2::Model::ListSuppressedDestinationsResult::AddSuppressedDestinationSummaries
ListSuppressedDestinationsResult & AddSuppressedDestinationSummaries(SuppressedDestinationSummary &&value)
Definition: ListSuppressedDestinationsResult.h:82
Aws::SESV2::Model::ListSuppressedDestinationsResult::GetSuppressedDestinationSummaries
const Aws::Vector< SuppressedDestinationSummary > & GetSuppressedDestinationSummaries() const
Definition: ListSuppressedDestinationsResult.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::SuppressedDestinationSummary
Definition: SuppressedDestinationSummary.h:35
Aws::SESV2::Model::ListSuppressedDestinationsResult::WithNextToken
ListSuppressedDestinationsResult & WithNextToken(Aws::String &&value)
Definition: ListSuppressedDestinationsResult.h:131