AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
BotMember.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
27class BotMember {
28 public:
29 AWS_LEXMODELSV2_API BotMember() = default;
30 AWS_LEXMODELSV2_API BotMember(Aws::Utils::Json::JsonView jsonValue);
31 AWS_LEXMODELSV2_API BotMember& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetBotMemberId() const { return m_botMemberId; }
39 inline bool BotMemberIdHasBeenSet() const { return m_botMemberIdHasBeenSet; }
40 template <typename BotMemberIdT = Aws::String>
41 void SetBotMemberId(BotMemberIdT&& value) {
42 m_botMemberIdHasBeenSet = true;
43 m_botMemberId = std::forward<BotMemberIdT>(value);
44 }
45 template <typename BotMemberIdT = Aws::String>
46 BotMember& WithBotMemberId(BotMemberIdT&& value) {
47 SetBotMemberId(std::forward<BotMemberIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBotMemberName() const { return m_botMemberName; }
57 inline bool BotMemberNameHasBeenSet() const { return m_botMemberNameHasBeenSet; }
58 template <typename BotMemberNameT = Aws::String>
59 void SetBotMemberName(BotMemberNameT&& value) {
60 m_botMemberNameHasBeenSet = true;
61 m_botMemberName = std::forward<BotMemberNameT>(value);
62 }
63 template <typename BotMemberNameT = Aws::String>
64 BotMember& WithBotMemberName(BotMemberNameT&& value) {
65 SetBotMemberName(std::forward<BotMemberNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetBotMemberAliasId() const { return m_botMemberAliasId; }
75 inline bool BotMemberAliasIdHasBeenSet() const { return m_botMemberAliasIdHasBeenSet; }
76 template <typename BotMemberAliasIdT = Aws::String>
77 void SetBotMemberAliasId(BotMemberAliasIdT&& value) {
78 m_botMemberAliasIdHasBeenSet = true;
79 m_botMemberAliasId = std::forward<BotMemberAliasIdT>(value);
80 }
81 template <typename BotMemberAliasIdT = Aws::String>
82 BotMember& WithBotMemberAliasId(BotMemberAliasIdT&& value) {
83 SetBotMemberAliasId(std::forward<BotMemberAliasIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetBotMemberAliasName() const { return m_botMemberAliasName; }
93 inline bool BotMemberAliasNameHasBeenSet() const { return m_botMemberAliasNameHasBeenSet; }
94 template <typename BotMemberAliasNameT = Aws::String>
95 void SetBotMemberAliasName(BotMemberAliasNameT&& value) {
96 m_botMemberAliasNameHasBeenSet = true;
97 m_botMemberAliasName = std::forward<BotMemberAliasNameT>(value);
98 }
99 template <typename BotMemberAliasNameT = Aws::String>
100 BotMember& WithBotMemberAliasName(BotMemberAliasNameT&& value) {
101 SetBotMemberAliasName(std::forward<BotMemberAliasNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetBotMemberVersion() const { return m_botMemberVersion; }
111 inline bool BotMemberVersionHasBeenSet() const { return m_botMemberVersionHasBeenSet; }
112 template <typename BotMemberVersionT = Aws::String>
113 void SetBotMemberVersion(BotMemberVersionT&& value) {
114 m_botMemberVersionHasBeenSet = true;
115 m_botMemberVersion = std::forward<BotMemberVersionT>(value);
116 }
117 template <typename BotMemberVersionT = Aws::String>
118 BotMember& WithBotMemberVersion(BotMemberVersionT&& value) {
119 SetBotMemberVersion(std::forward<BotMemberVersionT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_botMemberId;
125
126 Aws::String m_botMemberName;
127
128 Aws::String m_botMemberAliasId;
129
130 Aws::String m_botMemberAliasName;
131
132 Aws::String m_botMemberVersion;
133 bool m_botMemberIdHasBeenSet = false;
134 bool m_botMemberNameHasBeenSet = false;
135 bool m_botMemberAliasIdHasBeenSet = false;
136 bool m_botMemberAliasNameHasBeenSet = false;
137 bool m_botMemberVersionHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace LexModelsV2
142} // namespace Aws
const Aws::String & GetBotMemberName() const
Definition BotMember.h:56
AWS_LEXMODELSV2_API BotMember()=default
void SetBotMemberAliasId(BotMemberAliasIdT &&value)
Definition BotMember.h:77
void SetBotMemberId(BotMemberIdT &&value)
Definition BotMember.h:41
const Aws::String & GetBotMemberVersion() const
Definition BotMember.h:110
const Aws::String & GetBotMemberId() const
Definition BotMember.h:38
void SetBotMemberVersion(BotMemberVersionT &&value)
Definition BotMember.h:113
BotMember & WithBotMemberId(BotMemberIdT &&value)
Definition BotMember.h:46
BotMember & WithBotMemberVersion(BotMemberVersionT &&value)
Definition BotMember.h:118
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotMember & WithBotMemberAliasId(BotMemberAliasIdT &&value)
Definition BotMember.h:82
AWS_LEXMODELSV2_API BotMember(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBotMemberAliasName() const
Definition BotMember.h:92
bool BotMemberAliasNameHasBeenSet() const
Definition BotMember.h:93
AWS_LEXMODELSV2_API BotMember & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBotMemberName(BotMemberNameT &&value)
Definition BotMember.h:59
BotMember & WithBotMemberAliasName(BotMemberAliasNameT &&value)
Definition BotMember.h:100
BotMember & WithBotMemberName(BotMemberNameT &&value)
Definition BotMember.h:64
const Aws::String & GetBotMemberAliasId() const
Definition BotMember.h:74
void SetBotMemberAliasName(BotMemberAliasNameT &&value)
Definition BotMember.h:95
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue