AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotMemberId(const Aws::String& value) { m_botMemberIdHasBeenSet = true; m_botMemberId = value; }
47 inline void SetBotMemberId(Aws::String&& value) { m_botMemberIdHasBeenSet = true; m_botMemberId = std::move(value); }
48 inline void SetBotMemberId(const char* value) { m_botMemberIdHasBeenSet = true; m_botMemberId.assign(value); }
49 inline BotMember& WithBotMemberId(const Aws::String& value) { SetBotMemberId(value); return *this;}
50 inline BotMember& WithBotMemberId(Aws::String&& value) { SetBotMemberId(std::move(value)); return *this;}
51 inline BotMember& WithBotMemberId(const char* value) { SetBotMemberId(value); return *this;}
53
55
58 inline const Aws::String& GetBotMemberName() const{ return m_botMemberName; }
59 inline bool BotMemberNameHasBeenSet() const { return m_botMemberNameHasBeenSet; }
60 inline void SetBotMemberName(const Aws::String& value) { m_botMemberNameHasBeenSet = true; m_botMemberName = value; }
61 inline void SetBotMemberName(Aws::String&& value) { m_botMemberNameHasBeenSet = true; m_botMemberName = std::move(value); }
62 inline void SetBotMemberName(const char* value) { m_botMemberNameHasBeenSet = true; m_botMemberName.assign(value); }
63 inline BotMember& WithBotMemberName(const Aws::String& value) { SetBotMemberName(value); return *this;}
64 inline BotMember& WithBotMemberName(Aws::String&& value) { SetBotMemberName(std::move(value)); return *this;}
65 inline BotMember& WithBotMemberName(const char* value) { SetBotMemberName(value); return *this;}
67
69
72 inline const Aws::String& GetBotMemberAliasId() const{ return m_botMemberAliasId; }
73 inline bool BotMemberAliasIdHasBeenSet() const { return m_botMemberAliasIdHasBeenSet; }
74 inline void SetBotMemberAliasId(const Aws::String& value) { m_botMemberAliasIdHasBeenSet = true; m_botMemberAliasId = value; }
75 inline void SetBotMemberAliasId(Aws::String&& value) { m_botMemberAliasIdHasBeenSet = true; m_botMemberAliasId = std::move(value); }
76 inline void SetBotMemberAliasId(const char* value) { m_botMemberAliasIdHasBeenSet = true; m_botMemberAliasId.assign(value); }
77 inline BotMember& WithBotMemberAliasId(const Aws::String& value) { SetBotMemberAliasId(value); return *this;}
78 inline BotMember& WithBotMemberAliasId(Aws::String&& value) { SetBotMemberAliasId(std::move(value)); return *this;}
79 inline BotMember& WithBotMemberAliasId(const char* value) { SetBotMemberAliasId(value); return *this;}
81
83
86 inline const Aws::String& GetBotMemberAliasName() const{ return m_botMemberAliasName; }
87 inline bool BotMemberAliasNameHasBeenSet() const { return m_botMemberAliasNameHasBeenSet; }
88 inline void SetBotMemberAliasName(const Aws::String& value) { m_botMemberAliasNameHasBeenSet = true; m_botMemberAliasName = value; }
89 inline void SetBotMemberAliasName(Aws::String&& value) { m_botMemberAliasNameHasBeenSet = true; m_botMemberAliasName = std::move(value); }
90 inline void SetBotMemberAliasName(const char* value) { m_botMemberAliasNameHasBeenSet = true; m_botMemberAliasName.assign(value); }
91 inline BotMember& WithBotMemberAliasName(const Aws::String& value) { SetBotMemberAliasName(value); return *this;}
92 inline BotMember& WithBotMemberAliasName(Aws::String&& value) { SetBotMemberAliasName(std::move(value)); return *this;}
93 inline BotMember& WithBotMemberAliasName(const char* value) { SetBotMemberAliasName(value); return *this;}
95
97
100 inline const Aws::String& GetBotMemberVersion() const{ return m_botMemberVersion; }
101 inline bool BotMemberVersionHasBeenSet() const { return m_botMemberVersionHasBeenSet; }
102 inline void SetBotMemberVersion(const Aws::String& value) { m_botMemberVersionHasBeenSet = true; m_botMemberVersion = value; }
103 inline void SetBotMemberVersion(Aws::String&& value) { m_botMemberVersionHasBeenSet = true; m_botMemberVersion = std::move(value); }
104 inline void SetBotMemberVersion(const char* value) { m_botMemberVersionHasBeenSet = true; m_botMemberVersion.assign(value); }
105 inline BotMember& WithBotMemberVersion(const Aws::String& value) { SetBotMemberVersion(value); return *this;}
106 inline BotMember& WithBotMemberVersion(Aws::String&& value) { SetBotMemberVersion(std::move(value)); return *this;}
107 inline BotMember& WithBotMemberVersion(const char* value) { SetBotMemberVersion(value); return *this;}
109 private:
110
111 Aws::String m_botMemberId;
112 bool m_botMemberIdHasBeenSet = false;
113
114 Aws::String m_botMemberName;
115 bool m_botMemberNameHasBeenSet = false;
116
117 Aws::String m_botMemberAliasId;
118 bool m_botMemberAliasIdHasBeenSet = false;
119
120 Aws::String m_botMemberAliasName;
121 bool m_botMemberAliasNameHasBeenSet = false;
122
123 Aws::String m_botMemberVersion;
124 bool m_botMemberVersionHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace LexModelsV2
129} // namespace Aws
BotMember & WithBotMemberName(const char *value)
Definition BotMember.h:65
void SetBotMemberVersion(const char *value)
Definition BotMember.h:104
const Aws::String & GetBotMemberName() const
Definition BotMember.h:58
void SetBotMemberVersion(Aws::String &&value)
Definition BotMember.h:103
BotMember & WithBotMemberAliasId(const Aws::String &value)
Definition BotMember.h:77
BotMember & WithBotMemberVersion(const char *value)
Definition BotMember.h:107
const Aws::String & GetBotMemberVersion() const
Definition BotMember.h:100
BotMember & WithBotMemberAliasId(const char *value)
Definition BotMember.h:79
const Aws::String & GetBotMemberId() const
Definition BotMember.h:44
void SetBotMemberAliasName(const char *value)
Definition BotMember.h:90
BotMember & WithBotMemberVersion(Aws::String &&value)
Definition BotMember.h:106
AWS_LEXMODELSV2_API BotMember()
BotMember & WithBotMemberAliasName(const char *value)
Definition BotMember.h:93
BotMember & WithBotMemberId(Aws::String &&value)
Definition BotMember.h:50
void SetBotMemberName(const char *value)
Definition BotMember.h:62
BotMember & WithBotMemberName(Aws::String &&value)
Definition BotMember.h:64
void SetBotMemberAliasId(const Aws::String &value)
Definition BotMember.h:74
void SetBotMemberAliasName(Aws::String &&value)
Definition BotMember.h:89
void SetBotMemberName(Aws::String &&value)
Definition BotMember.h:61
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotMember(Aws::Utils::Json::JsonView jsonValue)
void SetBotMemberId(const Aws::String &value)
Definition BotMember.h:46
BotMember & WithBotMemberAliasName(Aws::String &&value)
Definition BotMember.h:92
void SetBotMemberId(const char *value)
Definition BotMember.h:48
const Aws::String & GetBotMemberAliasName() const
Definition BotMember.h:86
void SetBotMemberId(Aws::String &&value)
Definition BotMember.h:47
bool BotMemberAliasNameHasBeenSet() const
Definition BotMember.h:87
BotMember & WithBotMemberVersion(const Aws::String &value)
Definition BotMember.h:105
void SetBotMemberAliasId(const char *value)
Definition BotMember.h:76
BotMember & WithBotMemberId(const Aws::String &value)
Definition BotMember.h:49
AWS_LEXMODELSV2_API BotMember & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBotMemberAliasName(const Aws::String &value)
Definition BotMember.h:88
BotMember & WithBotMemberAliasName(const Aws::String &value)
Definition BotMember.h:91
BotMember & WithBotMemberId(const char *value)
Definition BotMember.h:51
void SetBotMemberName(const Aws::String &value)
Definition BotMember.h:60
BotMember & WithBotMemberAliasId(Aws::String &&value)
Definition BotMember.h:78
void SetBotMemberVersion(const Aws::String &value)
Definition BotMember.h:102
BotMember & WithBotMemberName(const Aws::String &value)
Definition BotMember.h:63
void SetBotMemberAliasId(Aws::String &&value)
Definition BotMember.h:75
const Aws::String & GetBotMemberAliasId() const
Definition BotMember.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue