AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Bot.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/BotType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Chime
24{
25namespace Model
26{
27
34 class Bot
35 {
36 public:
37 AWS_CHIME_API Bot();
38 AWS_CHIME_API Bot(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CHIME_API Bot& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetBotId() const{ return m_botId; }
48 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
49 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
50 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
51 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
52 inline Bot& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
53 inline Bot& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
54 inline Bot& WithBotId(const char* value) { SetBotId(value); return *this;}
56
58
61 inline const Aws::String& GetUserId() const{ return m_userId; }
62 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
63 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
64 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
65 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
66 inline Bot& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
67 inline Bot& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
68 inline Bot& WithUserId(const char* value) { SetUserId(value); return *this;}
70
72
75 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
76 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
77 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
78 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
79 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
80 inline Bot& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
81 inline Bot& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
82 inline Bot& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
84
86
89 inline const BotType& GetBotType() const{ return m_botType; }
90 inline bool BotTypeHasBeenSet() const { return m_botTypeHasBeenSet; }
91 inline void SetBotType(const BotType& value) { m_botTypeHasBeenSet = true; m_botType = value; }
92 inline void SetBotType(BotType&& value) { m_botTypeHasBeenSet = true; m_botType = std::move(value); }
93 inline Bot& WithBotType(const BotType& value) { SetBotType(value); return *this;}
94 inline Bot& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;}
96
98
101 inline bool GetDisabled() const{ return m_disabled; }
102 inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
103 inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; }
104 inline Bot& WithDisabled(bool value) { SetDisabled(value); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
112 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
113 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
114 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
115 inline Bot& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
116 inline Bot& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
124 inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
125 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; }
126 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); }
127 inline Bot& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;}
128 inline Bot& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
130
132
135 inline const Aws::String& GetBotEmail() const{ return m_botEmail; }
136 inline bool BotEmailHasBeenSet() const { return m_botEmailHasBeenSet; }
137 inline void SetBotEmail(const Aws::String& value) { m_botEmailHasBeenSet = true; m_botEmail = value; }
138 inline void SetBotEmail(Aws::String&& value) { m_botEmailHasBeenSet = true; m_botEmail = std::move(value); }
139 inline void SetBotEmail(const char* value) { m_botEmailHasBeenSet = true; m_botEmail.assign(value); }
140 inline Bot& WithBotEmail(const Aws::String& value) { SetBotEmail(value); return *this;}
141 inline Bot& WithBotEmail(Aws::String&& value) { SetBotEmail(std::move(value)); return *this;}
142 inline Bot& WithBotEmail(const char* value) { SetBotEmail(value); return *this;}
144
146
150 inline const Aws::String& GetSecurityToken() const{ return m_securityToken; }
151 inline bool SecurityTokenHasBeenSet() const { return m_securityTokenHasBeenSet; }
152 inline void SetSecurityToken(const Aws::String& value) { m_securityTokenHasBeenSet = true; m_securityToken = value; }
153 inline void SetSecurityToken(Aws::String&& value) { m_securityTokenHasBeenSet = true; m_securityToken = std::move(value); }
154 inline void SetSecurityToken(const char* value) { m_securityTokenHasBeenSet = true; m_securityToken.assign(value); }
155 inline Bot& WithSecurityToken(const Aws::String& value) { SetSecurityToken(value); return *this;}
156 inline Bot& WithSecurityToken(Aws::String&& value) { SetSecurityToken(std::move(value)); return *this;}
157 inline Bot& WithSecurityToken(const char* value) { SetSecurityToken(value); return *this;}
159 private:
160
161 Aws::String m_botId;
162 bool m_botIdHasBeenSet = false;
163
164 Aws::String m_userId;
165 bool m_userIdHasBeenSet = false;
166
167 Aws::String m_displayName;
168 bool m_displayNameHasBeenSet = false;
169
170 BotType m_botType;
171 bool m_botTypeHasBeenSet = false;
172
173 bool m_disabled;
174 bool m_disabledHasBeenSet = false;
175
176 Aws::Utils::DateTime m_createdTimestamp;
177 bool m_createdTimestampHasBeenSet = false;
178
179 Aws::Utils::DateTime m_updatedTimestamp;
180 bool m_updatedTimestampHasBeenSet = false;
181
182 Aws::String m_botEmail;
183 bool m_botEmailHasBeenSet = false;
184
185 Aws::String m_securityToken;
186 bool m_securityTokenHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace Chime
191} // namespace Aws
bool UpdatedTimestampHasBeenSet() const
Definition Bot.h:124
Bot & WithSecurityToken(const char *value)
Definition Bot.h:157
Bot & WithSecurityToken(const Aws::String &value)
Definition Bot.h:155
Bot & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition Bot.h:128
Bot & WithBotId(const Aws::String &value)
Definition Bot.h:52
void SetDisplayName(Aws::String &&value)
Definition Bot.h:78
AWS_CHIME_API Bot & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition Bot.h:126
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition Bot.h:111
const Aws::String & GetUserId() const
Definition Bot.h:61
void SetDisabled(bool value)
Definition Bot.h:103
Bot & WithBotEmail(Aws::String &&value)
Definition Bot.h:141
void SetUserId(const char *value)
Definition Bot.h:65
void SetBotId(Aws::String &&value)
Definition Bot.h:50
Bot & WithDisplayName(const char *value)
Definition Bot.h:82
AWS_CHIME_API Bot(Aws::Utils::Json::JsonView jsonValue)
bool BotEmailHasBeenSet() const
Definition Bot.h:136
void SetBotEmail(Aws::String &&value)
Definition Bot.h:138
void SetBotId(const char *value)
Definition Bot.h:51
const Aws::String & GetSecurityToken() const
Definition Bot.h:150
void SetSecurityToken(const Aws::String &value)
Definition Bot.h:152
bool GetDisabled() const
Definition Bot.h:101
void SetBotEmail(const Aws::String &value)
Definition Bot.h:137
const BotType & GetBotType() const
Definition Bot.h:89
const Aws::String & GetBotId() const
Definition Bot.h:47
void SetUserId(Aws::String &&value)
Definition Bot.h:64
bool BotIdHasBeenSet() const
Definition Bot.h:48
void SetBotType(BotType &&value)
Definition Bot.h:92
Bot & WithBotId(const char *value)
Definition Bot.h:54
bool SecurityTokenHasBeenSet() const
Definition Bot.h:151
void SetDisplayName(const Aws::String &value)
Definition Bot.h:77
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition Bot.h:114
bool BotTypeHasBeenSet() const
Definition Bot.h:90
Bot & WithBotType(const BotType &value)
Definition Bot.h:93
Bot & WithBotId(Aws::String &&value)
Definition Bot.h:53
bool UserIdHasBeenSet() const
Definition Bot.h:62
Bot & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition Bot.h:127
bool CreatedTimestampHasBeenSet() const
Definition Bot.h:112
Bot & WithBotType(BotType &&value)
Definition Bot.h:94
void SetSecurityToken(const char *value)
Definition Bot.h:154
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
Definition Bot.h:123
Bot & WithDisplayName(Aws::String &&value)
Definition Bot.h:81
void SetBotId(const Aws::String &value)
Definition Bot.h:49
const Aws::String & GetDisplayName() const
Definition Bot.h:75
Bot & WithDisabled(bool value)
Definition Bot.h:104
Bot & WithBotEmail(const char *value)
Definition Bot.h:142
Bot & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition Bot.h:115
Bot & WithBotEmail(const Aws::String &value)
Definition Bot.h:140
AWS_CHIME_API Bot()
Bot & WithUserId(Aws::String &&value)
Definition Bot.h:67
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition Bot.h:113
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition Bot.h:125
Bot & WithUserId(const char *value)
Definition Bot.h:68
bool DisplayNameHasBeenSet() const
Definition Bot.h:76
void SetSecurityToken(Aws::String &&value)
Definition Bot.h:153
void SetBotType(const BotType &value)
Definition Bot.h:91
const Aws::String & GetBotEmail() const
Definition Bot.h:135
void SetDisplayName(const char *value)
Definition Bot.h:79
void SetUserId(const Aws::String &value)
Definition Bot.h:63
Bot & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition Bot.h:116
bool DisabledHasBeenSet() const
Definition Bot.h:102
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
Bot & WithUserId(const Aws::String &value)
Definition Bot.h:66
Bot & WithSecurityToken(Aws::String &&value)
Definition Bot.h:156
Bot & WithDisplayName(const Aws::String &value)
Definition Bot.h:80
void SetBotEmail(const char *value)
Definition Bot.h:139
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue