AWS SDK for C++  1.9.160
AWS SDK for C++
ListBotsResult.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::Vector<LexBotConfig>& GetLexBots() const{ return m_lexBots; }
42 
47  inline void SetLexBots(const Aws::Vector<LexBotConfig>& value) { m_lexBots = value; }
48 
53  inline void SetLexBots(Aws::Vector<LexBotConfig>&& value) { m_lexBots = std::move(value); }
54 
59  inline ListBotsResult& WithLexBots(const Aws::Vector<LexBotConfig>& value) { SetLexBots(value); return *this;}
60 
65  inline ListBotsResult& WithLexBots(Aws::Vector<LexBotConfig>&& value) { SetLexBots(std::move(value)); return *this;}
66 
71  inline ListBotsResult& AddLexBots(const LexBotConfig& value) { m_lexBots.push_back(value); return *this; }
72 
77  inline ListBotsResult& AddLexBots(LexBotConfig&& value) { m_lexBots.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListBotsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListBotsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListBotsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<LexBotConfig> m_lexBots;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace Connect
131 } // namespace Aws
Aws::Connect::Model::ListBotsResult::WithLexBots
ListBotsResult & WithLexBots(const Aws::Vector< LexBotConfig > &value)
Definition: ListBotsResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::LexBotConfig
Definition: LexBotConfig.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::ListBotsResult::WithNextToken
ListBotsResult & WithNextToken(const char *value)
Definition: ListBotsResult.h:120
AWSVector.h
Aws::Connect::Model::ListBotsResult::WithNextToken
ListBotsResult & WithNextToken(const Aws::String &value)
Definition: ListBotsResult.h:108
Aws::Connect::Model::ListBotsResult::AddLexBots
ListBotsResult & AddLexBots(const LexBotConfig &value)
Definition: ListBotsResult.h:71
Aws::Connect::Model::ListBotsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBotsResult.h:90
Aws::Connect::Model::ListBotsResult::WithNextToken
ListBotsResult & WithNextToken(Aws::String &&value)
Definition: ListBotsResult.h:114
Aws::Connect::Model::ListBotsResult
Definition: ListBotsResult.h:30
Aws::Connect::Model::ListBotsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBotsResult.h:84
Aws::Connect::Model::ListBotsResult::WithLexBots
ListBotsResult & WithLexBots(Aws::Vector< LexBotConfig > &&value)
Definition: ListBotsResult.h:65
AWSString.h
Aws::Connect::Model::ListBotsResult::ListBotsResult
ListBotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::ListBotsResult::AddLexBots
ListBotsResult & AddLexBots(LexBotConfig &&value)
Definition: ListBotsResult.h:77
LexBotConfig.h
Aws::Connect::Model::ListBotsResult::operator=
ListBotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListBotsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListBotsResult.h:102
Aws::Connect::Model::ListBotsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBotsResult.h:96
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListBotsResult::SetLexBots
void SetLexBots(Aws::Vector< LexBotConfig > &&value)
Definition: ListBotsResult.h:53
Aws::Connect::Model::ListBotsResult::SetLexBots
void SetLexBots(const Aws::Vector< LexBotConfig > &value)
Definition: ListBotsResult.h:47
Aws::Connect::Model::ListBotsResult::GetLexBots
const Aws::Vector< LexBotConfig > & GetLexBots() const
Definition: ListBotsResult.h:41
Connect_EXPORTS.h
Aws::Connect::Model::ListBotsResult::ListBotsResult
ListBotsResult()