AWS SDK for C++  1.9.160
AWS SDK for C++
ListRoutingProfilesResult.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<RoutingProfileSummary>& GetRoutingProfileSummaryList() const{ return m_routingProfileSummaryList; }
41 
45  inline void SetRoutingProfileSummaryList(const Aws::Vector<RoutingProfileSummary>& value) { m_routingProfileSummaryList = value; }
46 
50  inline void SetRoutingProfileSummaryList(Aws::Vector<RoutingProfileSummary>&& value) { m_routingProfileSummaryList = std::move(value); }
51 
55  inline ListRoutingProfilesResult& WithRoutingProfileSummaryList(const Aws::Vector<RoutingProfileSummary>& value) { SetRoutingProfileSummaryList(value); return *this;}
56 
60  inline ListRoutingProfilesResult& WithRoutingProfileSummaryList(Aws::Vector<RoutingProfileSummary>&& value) { SetRoutingProfileSummaryList(std::move(value)); return *this;}
61 
65  inline ListRoutingProfilesResult& AddRoutingProfileSummaryList(const RoutingProfileSummary& value) { m_routingProfileSummaryList.push_back(value); return *this; }
66 
70  inline ListRoutingProfilesResult& AddRoutingProfileSummaryList(RoutingProfileSummary&& value) { m_routingProfileSummaryList.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 ListRoutingProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListRoutingProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListRoutingProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<RoutingProfileSummary> m_routingProfileSummaryList;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace Connect
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::RoutingProfileSummary
Definition: RoutingProfileSummary.h:33
Aws::Connect::Model::ListRoutingProfilesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRoutingProfilesResult.h:89
Aws::Connect::Model::ListRoutingProfilesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListRoutingProfilesResult.h:95
Aws::Connect::Model::ListRoutingProfilesResult::WithNextToken
ListRoutingProfilesResult & WithNextToken(Aws::String &&value)
Definition: ListRoutingProfilesResult.h:107
Aws::Connect::Model::ListRoutingProfilesResult::GetRoutingProfileSummaryList
const Aws::Vector< RoutingProfileSummary > & GetRoutingProfileSummaryList() const
Definition: ListRoutingProfilesResult.h:40
Aws::Connect::Model::ListRoutingProfilesResult::SetRoutingProfileSummaryList
void SetRoutingProfileSummaryList(const Aws::Vector< RoutingProfileSummary > &value)
Definition: ListRoutingProfilesResult.h:45
Aws::Connect::Model::ListRoutingProfilesResult::SetRoutingProfileSummaryList
void SetRoutingProfileSummaryList(Aws::Vector< RoutingProfileSummary > &&value)
Definition: ListRoutingProfilesResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::ListRoutingProfilesResult::AddRoutingProfileSummaryList
ListRoutingProfilesResult & AddRoutingProfileSummaryList(RoutingProfileSummary &&value)
Definition: ListRoutingProfilesResult.h:70
AWSVector.h
Aws::Connect::Model::ListRoutingProfilesResult::WithNextToken
ListRoutingProfilesResult & WithNextToken(const Aws::String &value)
Definition: ListRoutingProfilesResult.h:101
Aws::Connect::Model::ListRoutingProfilesResult::ListRoutingProfilesResult
ListRoutingProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::ListRoutingProfilesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRoutingProfilesResult.h:77
Aws::Connect::Model::ListRoutingProfilesResult::operator=
ListRoutingProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::ListRoutingProfilesResult::AddRoutingProfileSummaryList
ListRoutingProfilesResult & AddRoutingProfileSummaryList(const RoutingProfileSummary &value)
Definition: ListRoutingProfilesResult.h:65
Aws::Connect::Model::ListRoutingProfilesResult::ListRoutingProfilesResult
ListRoutingProfilesResult()
Aws::Connect::Model::ListRoutingProfilesResult::WithRoutingProfileSummaryList
ListRoutingProfilesResult & WithRoutingProfileSummaryList(Aws::Vector< RoutingProfileSummary > &&value)
Definition: ListRoutingProfilesResult.h:60
Aws::Connect::Model::ListRoutingProfilesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRoutingProfilesResult.h:83
AWSString.h
Aws::Connect::Model::ListRoutingProfilesResult::WithRoutingProfileSummaryList
ListRoutingProfilesResult & WithRoutingProfileSummaryList(const Aws::Vector< RoutingProfileSummary > &value)
Definition: ListRoutingProfilesResult.h:55
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
RoutingProfileSummary.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListRoutingProfilesResult::WithNextToken
ListRoutingProfilesResult & WithNextToken(const char *value)
Definition: ListRoutingProfilesResult.h:113
Connect_EXPORTS.h
Aws::Connect::Model::ListRoutingProfilesResult
Definition: ListRoutingProfilesResult.h:30