AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
BotVersionLocaleDetails.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
28 public:
29 AWS_LEXMODELSV2_API BotVersionLocaleDetails() = default;
32 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetSourceBotVersion() const { return m_sourceBotVersion; }
39 inline bool SourceBotVersionHasBeenSet() const { return m_sourceBotVersionHasBeenSet; }
40 template <typename SourceBotVersionT = Aws::String>
41 void SetSourceBotVersion(SourceBotVersionT&& value) {
42 m_sourceBotVersionHasBeenSet = true;
43 m_sourceBotVersion = std::forward<SourceBotVersionT>(value);
44 }
45 template <typename SourceBotVersionT = Aws::String>
46 BotVersionLocaleDetails& WithSourceBotVersion(SourceBotVersionT&& value) {
47 SetSourceBotVersion(std::forward<SourceBotVersionT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_sourceBotVersion;
53 bool m_sourceBotVersionHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace LexModelsV2
58} // namespace Aws
BotVersionLocaleDetails & WithSourceBotVersion(SourceBotVersionT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotVersionLocaleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotVersionLocaleDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotVersionLocaleDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue