AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotMember.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LEXMODELSV2_API BotMember() = default;
35 AWS_LEXMODELSV2_API BotMember(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API BotMember& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetBotMemberId() const { return m_botMemberId; }
45 inline bool BotMemberIdHasBeenSet() const { return m_botMemberIdHasBeenSet; }
46 template<typename BotMemberIdT = Aws::String>
47 void SetBotMemberId(BotMemberIdT&& value) { m_botMemberIdHasBeenSet = true; m_botMemberId = std::forward<BotMemberIdT>(value); }
48 template<typename BotMemberIdT = Aws::String>
49 BotMember& WithBotMemberId(BotMemberIdT&& value) { SetBotMemberId(std::forward<BotMemberIdT>(value)); return *this;}
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) { m_botMemberNameHasBeenSet = true; m_botMemberName = std::forward<BotMemberNameT>(value); }
60 template<typename BotMemberNameT = Aws::String>
61 BotMember& WithBotMemberName(BotMemberNameT&& value) { SetBotMemberName(std::forward<BotMemberNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetBotMemberAliasId() const { return m_botMemberAliasId; }
69 inline bool BotMemberAliasIdHasBeenSet() const { return m_botMemberAliasIdHasBeenSet; }
70 template<typename BotMemberAliasIdT = Aws::String>
71 void SetBotMemberAliasId(BotMemberAliasIdT&& value) { m_botMemberAliasIdHasBeenSet = true; m_botMemberAliasId = std::forward<BotMemberAliasIdT>(value); }
72 template<typename BotMemberAliasIdT = Aws::String>
73 BotMember& WithBotMemberAliasId(BotMemberAliasIdT&& value) { SetBotMemberAliasId(std::forward<BotMemberAliasIdT>(value)); return *this;}
75
77
80 inline const Aws::String& GetBotMemberAliasName() const { return m_botMemberAliasName; }
81 inline bool BotMemberAliasNameHasBeenSet() const { return m_botMemberAliasNameHasBeenSet; }
82 template<typename BotMemberAliasNameT = Aws::String>
83 void SetBotMemberAliasName(BotMemberAliasNameT&& value) { m_botMemberAliasNameHasBeenSet = true; m_botMemberAliasName = std::forward<BotMemberAliasNameT>(value); }
84 template<typename BotMemberAliasNameT = Aws::String>
85 BotMember& WithBotMemberAliasName(BotMemberAliasNameT&& value) { SetBotMemberAliasName(std::forward<BotMemberAliasNameT>(value)); return *this;}
87
89
92 inline const Aws::String& GetBotMemberVersion() const { return m_botMemberVersion; }
93 inline bool BotMemberVersionHasBeenSet() const { return m_botMemberVersionHasBeenSet; }
94 template<typename BotMemberVersionT = Aws::String>
95 void SetBotMemberVersion(BotMemberVersionT&& value) { m_botMemberVersionHasBeenSet = true; m_botMemberVersion = std::forward<BotMemberVersionT>(value); }
96 template<typename BotMemberVersionT = Aws::String>
97 BotMember& WithBotMemberVersion(BotMemberVersionT&& value) { SetBotMemberVersion(std::forward<BotMemberVersionT>(value)); return *this;}
99 private:
100
101 Aws::String m_botMemberId;
102 bool m_botMemberIdHasBeenSet = false;
103
104 Aws::String m_botMemberName;
105 bool m_botMemberNameHasBeenSet = false;
106
107 Aws::String m_botMemberAliasId;
108 bool m_botMemberAliasIdHasBeenSet = false;
109
110 Aws::String m_botMemberAliasName;
111 bool m_botMemberAliasNameHasBeenSet = false;
112
113 Aws::String m_botMemberVersion;
114 bool m_botMemberVersionHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace LexModelsV2
119} // namespace Aws
const Aws::String & GetBotMemberName() const
Definition BotMember.h:56
AWS_LEXMODELSV2_API BotMember()=default
void SetBotMemberAliasId(BotMemberAliasIdT &&value)
Definition BotMember.h:71
void SetBotMemberId(BotMemberIdT &&value)
Definition BotMember.h:47
const Aws::String & GetBotMemberVersion() const
Definition BotMember.h:92
const Aws::String & GetBotMemberId() const
Definition BotMember.h:44
void SetBotMemberVersion(BotMemberVersionT &&value)
Definition BotMember.h:95
BotMember & WithBotMemberId(BotMemberIdT &&value)
Definition BotMember.h:49
BotMember & WithBotMemberVersion(BotMemberVersionT &&value)
Definition BotMember.h:97
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotMember & WithBotMemberAliasId(BotMemberAliasIdT &&value)
Definition BotMember.h:73
AWS_LEXMODELSV2_API BotMember(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBotMemberAliasName() const
Definition BotMember.h:80
bool BotMemberAliasNameHasBeenSet() const
Definition BotMember.h:81
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:85
BotMember & WithBotMemberName(BotMemberNameT &&value)
Definition BotMember.h:61
const Aws::String & GetBotMemberAliasId() const
Definition BotMember.h:68
void SetBotMemberAliasName(BotMemberAliasNameT &&value)
Definition BotMember.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue