AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotImportSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/DataPrivacy.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 LexModelsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELSV2_API BotImportSpecification();
38 AWS_LEXMODELSV2_API BotImportSpecification(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetBotName() const{ return m_botName; }
48 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
49 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
50 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
51 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
52 inline BotImportSpecification& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
53 inline BotImportSpecification& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
54 inline BotImportSpecification& WithBotName(const char* value) { SetBotName(value); return *this;}
56
58
62 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
63 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
64 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
65 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
66 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
67 inline BotImportSpecification& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
68 inline BotImportSpecification& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
69 inline BotImportSpecification& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
71
73
74 inline const DataPrivacy& GetDataPrivacy() const{ return m_dataPrivacy; }
75 inline bool DataPrivacyHasBeenSet() const { return m_dataPrivacyHasBeenSet; }
76 inline void SetDataPrivacy(const DataPrivacy& value) { m_dataPrivacyHasBeenSet = true; m_dataPrivacy = value; }
77 inline void SetDataPrivacy(DataPrivacy&& value) { m_dataPrivacyHasBeenSet = true; m_dataPrivacy = std::move(value); }
78 inline BotImportSpecification& WithDataPrivacy(const DataPrivacy& value) { SetDataPrivacy(value); return *this;}
79 inline BotImportSpecification& WithDataPrivacy(DataPrivacy&& value) { SetDataPrivacy(std::move(value)); return *this;}
81
83
90 inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; }
91 inline bool IdleSessionTTLInSecondsHasBeenSet() const { return m_idleSessionTTLInSecondsHasBeenSet; }
92 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSecondsHasBeenSet = true; m_idleSessionTTLInSeconds = value; }
95
97
102 inline const Aws::Map<Aws::String, Aws::String>& GetBotTags() const{ return m_botTags; }
103 inline bool BotTagsHasBeenSet() const { return m_botTagsHasBeenSet; }
104 inline void SetBotTags(const Aws::Map<Aws::String, Aws::String>& value) { m_botTagsHasBeenSet = true; m_botTags = value; }
105 inline void SetBotTags(Aws::Map<Aws::String, Aws::String>&& value) { m_botTagsHasBeenSet = true; m_botTags = std::move(value); }
107 inline BotImportSpecification& WithBotTags(Aws::Map<Aws::String, Aws::String>&& value) { SetBotTags(std::move(value)); return *this;}
108 inline BotImportSpecification& AddBotTags(const Aws::String& key, const Aws::String& value) { m_botTagsHasBeenSet = true; m_botTags.emplace(key, value); return *this; }
109 inline BotImportSpecification& AddBotTags(Aws::String&& key, const Aws::String& value) { m_botTagsHasBeenSet = true; m_botTags.emplace(std::move(key), value); return *this; }
110 inline BotImportSpecification& AddBotTags(const Aws::String& key, Aws::String&& value) { m_botTagsHasBeenSet = true; m_botTags.emplace(key, std::move(value)); return *this; }
111 inline BotImportSpecification& AddBotTags(Aws::String&& key, Aws::String&& value) { m_botTagsHasBeenSet = true; m_botTags.emplace(std::move(key), std::move(value)); return *this; }
112 inline BotImportSpecification& AddBotTags(const char* key, Aws::String&& value) { m_botTagsHasBeenSet = true; m_botTags.emplace(key, std::move(value)); return *this; }
113 inline BotImportSpecification& AddBotTags(Aws::String&& key, const char* value) { m_botTagsHasBeenSet = true; m_botTags.emplace(std::move(key), value); return *this; }
114 inline BotImportSpecification& AddBotTags(const char* key, const char* value) { m_botTagsHasBeenSet = true; m_botTags.emplace(key, value); return *this; }
116
118
124 inline const Aws::Map<Aws::String, Aws::String>& GetTestBotAliasTags() const{ return m_testBotAliasTags; }
125 inline bool TestBotAliasTagsHasBeenSet() const { return m_testBotAliasTagsHasBeenSet; }
126 inline void SetTestBotAliasTags(const Aws::Map<Aws::String, Aws::String>& value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags = value; }
127 inline void SetTestBotAliasTags(Aws::Map<Aws::String, Aws::String>&& value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags = std::move(value); }
130 inline BotImportSpecification& AddTestBotAliasTags(const Aws::String& key, const Aws::String& value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags.emplace(key, value); return *this; }
131 inline BotImportSpecification& AddTestBotAliasTags(Aws::String&& key, const Aws::String& value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags.emplace(std::move(key), value); return *this; }
132 inline BotImportSpecification& AddTestBotAliasTags(const Aws::String& key, Aws::String&& value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags.emplace(key, std::move(value)); return *this; }
133 inline BotImportSpecification& AddTestBotAliasTags(Aws::String&& key, Aws::String&& value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags.emplace(std::move(key), std::move(value)); return *this; }
134 inline BotImportSpecification& AddTestBotAliasTags(const char* key, Aws::String&& value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags.emplace(key, std::move(value)); return *this; }
135 inline BotImportSpecification& AddTestBotAliasTags(Aws::String&& key, const char* value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags.emplace(std::move(key), value); return *this; }
136 inline BotImportSpecification& AddTestBotAliasTags(const char* key, const char* value) { m_testBotAliasTagsHasBeenSet = true; m_testBotAliasTags.emplace(key, value); return *this; }
138 private:
139
140 Aws::String m_botName;
141 bool m_botNameHasBeenSet = false;
142
143 Aws::String m_roleArn;
144 bool m_roleArnHasBeenSet = false;
145
146 DataPrivacy m_dataPrivacy;
147 bool m_dataPrivacyHasBeenSet = false;
148
149 int m_idleSessionTTLInSeconds;
150 bool m_idleSessionTTLInSecondsHasBeenSet = false;
151
153 bool m_botTagsHasBeenSet = false;
154
155 Aws::Map<Aws::String, Aws::String> m_testBotAliasTags;
156 bool m_testBotAliasTagsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace LexModelsV2
161} // namespace Aws
BotImportSpecification & AddBotTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetBotTags() const
BotImportSpecification & WithTestBotAliasTags(Aws::Map< Aws::String, Aws::String > &&value)
BotImportSpecification & AddTestBotAliasTags(Aws::String &&key, const Aws::String &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotImportSpecification & AddBotTags(const char *key, Aws::String &&value)
BotImportSpecification & WithBotName(Aws::String &&value)
BotImportSpecification & AddTestBotAliasTags(Aws::String &&key, Aws::String &&value)
BotImportSpecification & WithBotName(const char *value)
AWS_LEXMODELSV2_API BotImportSpecification(Aws::Utils::Json::JsonView jsonValue)
BotImportSpecification & WithDataPrivacy(const DataPrivacy &value)
void SetBotTags(Aws::Map< Aws::String, Aws::String > &&value)
BotImportSpecification & WithBotName(const Aws::String &value)
BotImportSpecification & WithBotTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTestBotAliasTags() const
void SetTestBotAliasTags(const Aws::Map< Aws::String, Aws::String > &value)
BotImportSpecification & AddTestBotAliasTags(const char *key, const char *value)
BotImportSpecification & WithIdleSessionTTLInSeconds(int value)
BotImportSpecification & WithRoleArn(const Aws::String &value)
BotImportSpecification & AddTestBotAliasTags(Aws::String &&key, const char *value)
BotImportSpecification & WithDataPrivacy(DataPrivacy &&value)
BotImportSpecification & AddTestBotAliasTags(const char *key, Aws::String &&value)
BotImportSpecification & AddBotTags(const char *key, const char *value)
BotImportSpecification & AddTestBotAliasTags(const Aws::String &key, const Aws::String &value)
BotImportSpecification & WithRoleArn(const char *value)
AWS_LEXMODELSV2_API BotImportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
BotImportSpecification & WithTestBotAliasTags(const Aws::Map< Aws::String, Aws::String > &value)
BotImportSpecification & AddBotTags(const Aws::String &key, const Aws::String &value)
void SetTestBotAliasTags(Aws::Map< Aws::String, Aws::String > &&value)
BotImportSpecification & AddBotTags(Aws::String &&key, Aws::String &&value)
BotImportSpecification & AddTestBotAliasTags(const Aws::String &key, Aws::String &&value)
BotImportSpecification & WithBotTags(Aws::Map< Aws::String, Aws::String > &&value)
BotImportSpecification & WithRoleArn(Aws::String &&value)
BotImportSpecification & AddBotTags(const Aws::String &key, Aws::String &&value)
void SetBotTags(const Aws::Map< Aws::String, Aws::String > &value)
BotImportSpecification & AddBotTags(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue