AWS SDK for C++  1.9.156
AWS SDK for C++
ListQuickConnectsResult.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 Connect
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<QuickConnectSummary>& GetQuickConnectSummaryList() const{ return m_quickConnectSummaryList; }
41 
45  inline void SetQuickConnectSummaryList(const Aws::Vector<QuickConnectSummary>& value) { m_quickConnectSummaryList = value; }
46 
50  inline void SetQuickConnectSummaryList(Aws::Vector<QuickConnectSummary>&& value) { m_quickConnectSummaryList = std::move(value); }
51 
55  inline ListQuickConnectsResult& WithQuickConnectSummaryList(const Aws::Vector<QuickConnectSummary>& value) { SetQuickConnectSummaryList(value); return *this;}
56 
60  inline ListQuickConnectsResult& WithQuickConnectSummaryList(Aws::Vector<QuickConnectSummary>&& value) { SetQuickConnectSummaryList(std::move(value)); return *this;}
61 
65  inline ListQuickConnectsResult& AddQuickConnectSummaryList(const QuickConnectSummary& value) { m_quickConnectSummaryList.push_back(value); return *this; }
66 
70  inline ListQuickConnectsResult& AddQuickConnectSummaryList(QuickConnectSummary&& value) { m_quickConnectSummaryList.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListQuickConnectsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListQuickConnectsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListQuickConnectsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<QuickConnectSummary> m_quickConnectSummaryList;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace Connect
124 } // namespace Aws
Aws::Connect::Model::ListQuickConnectsResult::GetQuickConnectSummaryList
const Aws::Vector< QuickConnectSummary > & GetQuickConnectSummaryList() const
Definition: ListQuickConnectsResult.h:40
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::ListQuickConnectsResult::WithNextToken
ListQuickConnectsResult & WithNextToken(Aws::String &&value)
Definition: ListQuickConnectsResult.h:107
Aws::Connect::Model::ListQuickConnectsResult::SetQuickConnectSummaryList
void SetQuickConnectSummaryList(const Aws::Vector< QuickConnectSummary > &value)
Definition: ListQuickConnectsResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Connect::Model::ListQuickConnectsResult::WithQuickConnectSummaryList
ListQuickConnectsResult & WithQuickConnectSummaryList(const Aws::Vector< QuickConnectSummary > &value)
Definition: ListQuickConnectsResult.h:55
Aws::Connect::Model::ListQuickConnectsResult::operator=
ListQuickConnectsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::ListQuickConnectsResult::AddQuickConnectSummaryList
ListQuickConnectsResult & AddQuickConnectSummaryList(const QuickConnectSummary &value)
Definition: ListQuickConnectsResult.h:65
Aws::Connect::Model::ListQuickConnectsResult::SetQuickConnectSummaryList
void SetQuickConnectSummaryList(Aws::Vector< QuickConnectSummary > &&value)
Definition: ListQuickConnectsResult.h:50
Aws::Connect::Model::ListQuickConnectsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListQuickConnectsResult.h:95
Aws::Connect::Model::ListQuickConnectsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQuickConnectsResult.h:83
Aws::Connect::Model::ListQuickConnectsResult::WithNextToken
ListQuickConnectsResult & WithNextToken(const char *value)
Definition: ListQuickConnectsResult.h:113
Aws::Connect::Model::ListQuickConnectsResult
Definition: ListQuickConnectsResult.h:30
AWSString.h
Aws::Connect::Model::ListQuickConnectsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQuickConnectsResult.h:89
QuickConnectSummary.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::QuickConnectSummary
Definition: QuickConnectSummary.h:34
Aws::Connect::Model::ListQuickConnectsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQuickConnectsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListQuickConnectsResult::ListQuickConnectsResult
ListQuickConnectsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListQuickConnectsResult::AddQuickConnectSummaryList
ListQuickConnectsResult & AddQuickConnectSummaryList(QuickConnectSummary &&value)
Definition: ListQuickConnectsResult.h:70
Connect_EXPORTS.h
Aws::Connect::Model::ListQuickConnectsResult::WithQuickConnectSummaryList
ListQuickConnectsResult & WithQuickConnectSummaryList(Aws::Vector< QuickConnectSummary > &&value)
Definition: ListQuickConnectsResult.h:60
Aws::Connect::Model::ListQuickConnectsResult::ListQuickConnectsResult
ListQuickConnectsResult()
Aws::Connect::Model::ListQuickConnectsResult::WithNextToken
ListQuickConnectsResult & WithNextToken(const Aws::String &value)
Definition: ListQuickConnectsResult.h:101