AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBotAliasesResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/model/BotAliasSummary.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 ListBotAliasesResult();
35
36
38
45 inline const Aws::Vector<BotAliasSummary>& GetBotAliasSummaries() const{ return m_botAliasSummaries; }
46 inline void SetBotAliasSummaries(const Aws::Vector<BotAliasSummary>& value) { m_botAliasSummaries = value; }
47 inline void SetBotAliasSummaries(Aws::Vector<BotAliasSummary>&& value) { m_botAliasSummaries = std::move(value); }
50 inline ListBotAliasesResult& AddBotAliasSummaries(const BotAliasSummary& value) { m_botAliasSummaries.push_back(value); return *this; }
51 inline ListBotAliasesResult& AddBotAliasSummaries(BotAliasSummary&& value) { m_botAliasSummaries.push_back(std::move(value)); return *this; }
53
55
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
64 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
65 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
66 inline ListBotAliasesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 inline ListBotAliasesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
68 inline ListBotAliasesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
70
72
75 inline const Aws::String& GetBotId() const{ return m_botId; }
76 inline void SetBotId(const Aws::String& value) { m_botId = value; }
77 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
78 inline void SetBotId(const char* value) { m_botId.assign(value); }
79 inline ListBotAliasesResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
80 inline ListBotAliasesResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
81 inline ListBotAliasesResult& WithBotId(const char* value) { SetBotId(value); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline ListBotAliasesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline ListBotAliasesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline ListBotAliasesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::Vector<BotAliasSummary> m_botAliasSummaries;
97
98 Aws::String m_nextToken;
99
100 Aws::String m_botId;
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace LexModelsV2
107} // namespace Aws
ListBotAliasesResult & WithBotAliasSummaries(const Aws::Vector< BotAliasSummary > &value)
ListBotAliasesResult & WithNextToken(Aws::String &&value)
ListBotAliasesResult & WithBotId(Aws::String &&value)
AWS_LEXMODELSV2_API ListBotAliasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotAliasesResult & WithRequestId(const Aws::String &value)
ListBotAliasesResult & WithBotId(const char *value)
ListBotAliasesResult & AddBotAliasSummaries(const BotAliasSummary &value)
ListBotAliasesResult & AddBotAliasSummaries(BotAliasSummary &&value)
ListBotAliasesResult & WithBotAliasSummaries(Aws::Vector< BotAliasSummary > &&value)
void SetBotAliasSummaries(const Aws::Vector< BotAliasSummary > &value)
ListBotAliasesResult & WithNextToken(const Aws::String &value)
AWS_LEXMODELSV2_API ListBotAliasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotAliasesResult & WithRequestId(Aws::String &&value)
void SetBotAliasSummaries(Aws::Vector< BotAliasSummary > &&value)
ListBotAliasesResult & WithBotId(const Aws::String &value)
ListBotAliasesResult & WithNextToken(const char *value)
ListBotAliasesResult & WithRequestId(const char *value)
const Aws::Vector< BotAliasSummary > & GetBotAliasSummaries() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue