AWS SDK for C++  1.9.156
AWS SDK for C++
ListAgentStatusesResult.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 
41  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42 
47  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
48 
53  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
54 
59  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60 
65  inline ListAgentStatusesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
71  inline ListAgentStatusesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 
77  inline ListAgentStatusesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78 
79 
83  inline const Aws::Vector<AgentStatusSummary>& GetAgentStatusSummaryList() const{ return m_agentStatusSummaryList; }
84 
88  inline void SetAgentStatusSummaryList(const Aws::Vector<AgentStatusSummary>& value) { m_agentStatusSummaryList = value; }
89 
93  inline void SetAgentStatusSummaryList(Aws::Vector<AgentStatusSummary>&& value) { m_agentStatusSummaryList = std::move(value); }
94 
98  inline ListAgentStatusesResult& WithAgentStatusSummaryList(const Aws::Vector<AgentStatusSummary>& value) { SetAgentStatusSummaryList(value); return *this;}
99 
103  inline ListAgentStatusesResult& WithAgentStatusSummaryList(Aws::Vector<AgentStatusSummary>&& value) { SetAgentStatusSummaryList(std::move(value)); return *this;}
104 
108  inline ListAgentStatusesResult& AddAgentStatusSummaryList(const AgentStatusSummary& value) { m_agentStatusSummaryList.push_back(value); return *this; }
109 
113  inline ListAgentStatusesResult& AddAgentStatusSummaryList(AgentStatusSummary&& value) { m_agentStatusSummaryList.push_back(std::move(value)); return *this; }
114 
115  private:
116 
117  Aws::String m_nextToken;
118 
119  Aws::Vector<AgentStatusSummary> m_agentStatusSummaryList;
120  };
121 
122 } // namespace Model
123 } // namespace Connect
124 } // namespace Aws
Aws::Connect::Model::ListAgentStatusesResult::AddAgentStatusSummaryList
ListAgentStatusesResult & AddAgentStatusSummaryList(const AgentStatusSummary &value)
Definition: ListAgentStatusesResult.h:108
Aws::Connect::Model::ListAgentStatusesResult::SetAgentStatusSummaryList
void SetAgentStatusSummaryList(Aws::Vector< AgentStatusSummary > &&value)
Definition: ListAgentStatusesResult.h:93
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::ListAgentStatusesResult::GetAgentStatusSummaryList
const Aws::Vector< AgentStatusSummary > & GetAgentStatusSummaryList() const
Definition: ListAgentStatusesResult.h:83
Aws::Connect::Model::ListAgentStatusesResult
Definition: ListAgentStatusesResult.h:30
Aws::Connect::Model::AgentStatusSummary
Definition: AgentStatusSummary.h:33
Aws::Connect::Model::ListAgentStatusesResult::WithNextToken
ListAgentStatusesResult & WithNextToken(const Aws::String &value)
Definition: ListAgentStatusesResult.h:65
AgentStatusSummary.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Connect::Model::ListAgentStatusesResult::WithNextToken
ListAgentStatusesResult & WithNextToken(const char *value)
Definition: ListAgentStatusesResult.h:77
Aws::Connect::Model::ListAgentStatusesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAgentStatusesResult.h:47
Aws::Connect::Model::ListAgentStatusesResult::AddAgentStatusSummaryList
ListAgentStatusesResult & AddAgentStatusSummaryList(AgentStatusSummary &&value)
Definition: ListAgentStatusesResult.h:113
Aws::Connect::Model::ListAgentStatusesResult::WithAgentStatusSummaryList
ListAgentStatusesResult & WithAgentStatusSummaryList(const Aws::Vector< AgentStatusSummary > &value)
Definition: ListAgentStatusesResult.h:98
Aws::Connect::Model::ListAgentStatusesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAgentStatusesResult.h:59
AWSString.h
Aws::Connect::Model::ListAgentStatusesResult::WithAgentStatusSummaryList
ListAgentStatusesResult & WithAgentStatusSummaryList(Aws::Vector< AgentStatusSummary > &&value)
Definition: ListAgentStatusesResult.h:103
Aws::Connect::Model::ListAgentStatusesResult::ListAgentStatusesResult
ListAgentStatusesResult()
Aws::Connect::Model::ListAgentStatusesResult::SetAgentStatusSummaryList
void SetAgentStatusSummaryList(const Aws::Vector< AgentStatusSummary > &value)
Definition: ListAgentStatusesResult.h:88
Aws::Connect::Model::ListAgentStatusesResult::ListAgentStatusesResult
ListAgentStatusesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::ListAgentStatusesResult::WithNextToken
ListAgentStatusesResult & WithNextToken(Aws::String &&value)
Definition: ListAgentStatusesResult.h:71
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListAgentStatusesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAgentStatusesResult.h:53
Aws::Connect::Model::ListAgentStatusesResult::operator=
ListAgentStatusesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::ListAgentStatusesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAgentStatusesResult.h:41
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
Connect_EXPORTS.h