AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBotReplicasResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/model/BotReplicaSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELSV2_API ListBotReplicasResult();
35
36
38
41 inline const Aws::String& GetBotId() const{ return m_botId; }
42 inline void SetBotId(const Aws::String& value) { m_botId = value; }
43 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
44 inline void SetBotId(const char* value) { m_botId.assign(value); }
45 inline ListBotReplicasResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListBotReplicasResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListBotReplicasResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
54 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
55 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegion = value; }
56 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegion = std::move(value); }
57 inline void SetSourceRegion(const char* value) { m_sourceRegion.assign(value); }
58 inline ListBotReplicasResult& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
59 inline ListBotReplicasResult& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
60 inline ListBotReplicasResult& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
62
64
67 inline const Aws::Vector<BotReplicaSummary>& GetBotReplicaSummaries() const{ return m_botReplicaSummaries; }
68 inline void SetBotReplicaSummaries(const Aws::Vector<BotReplicaSummary>& value) { m_botReplicaSummaries = value; }
69 inline void SetBotReplicaSummaries(Aws::Vector<BotReplicaSummary>&& value) { m_botReplicaSummaries = std::move(value); }
72 inline ListBotReplicasResult& AddBotReplicaSummaries(const BotReplicaSummary& value) { m_botReplicaSummaries.push_back(value); return *this; }
73 inline ListBotReplicasResult& AddBotReplicaSummaries(BotReplicaSummary&& value) { m_botReplicaSummaries.push_back(std::move(value)); return *this; }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline ListBotReplicasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline ListBotReplicasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline ListBotReplicasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_botId;
89
90 Aws::String m_sourceRegion;
91
92 Aws::Vector<BotReplicaSummary> m_botReplicaSummaries;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace LexModelsV2
99} // namespace Aws
ListBotReplicasResult & WithBotReplicaSummaries(Aws::Vector< BotReplicaSummary > &&value)
ListBotReplicasResult & WithSourceRegion(Aws::String &&value)
ListBotReplicasResult & WithBotId(const char *value)
ListBotReplicasResult & WithRequestId(const char *value)
ListBotReplicasResult & AddBotReplicaSummaries(BotReplicaSummary &&value)
ListBotReplicasResult & WithBotId(const Aws::String &value)
AWS_LEXMODELSV2_API ListBotReplicasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotReplicaSummaries(const Aws::Vector< BotReplicaSummary > &value)
void SetBotReplicaSummaries(Aws::Vector< BotReplicaSummary > &&value)
ListBotReplicasResult & AddBotReplicaSummaries(const BotReplicaSummary &value)
AWS_LEXMODELSV2_API ListBotReplicasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotReplicasResult & WithRequestId(const Aws::String &value)
ListBotReplicasResult & WithSourceRegion(const char *value)
ListBotReplicasResult & WithBotId(Aws::String &&value)
ListBotReplicasResult & WithRequestId(Aws::String &&value)
ListBotReplicasResult & WithBotReplicaSummaries(const Aws::Vector< BotReplicaSummary > &value)
const Aws::Vector< BotReplicaSummary > & GetBotReplicaSummaries() const
ListBotReplicasResult & WithSourceRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue