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