AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UtteranceList.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lex-models/model/UtteranceData.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 LexModelBuildingService
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LEXMODELBUILDINGSERVICE_API UtteranceList();
39 AWS_LEXMODELBUILDINGSERVICE_API UtteranceList(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELBUILDINGSERVICE_API UtteranceList& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
49 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
50 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
51 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
52 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
53 inline UtteranceList& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
54 inline UtteranceList& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
55 inline UtteranceList& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
57
59
64 inline const Aws::Vector<UtteranceData>& GetUtterances() const{ return m_utterances; }
65 inline bool UtterancesHasBeenSet() const { return m_utterancesHasBeenSet; }
66 inline void SetUtterances(const Aws::Vector<UtteranceData>& value) { m_utterancesHasBeenSet = true; m_utterances = value; }
67 inline void SetUtterances(Aws::Vector<UtteranceData>&& value) { m_utterancesHasBeenSet = true; m_utterances = std::move(value); }
68 inline UtteranceList& WithUtterances(const Aws::Vector<UtteranceData>& value) { SetUtterances(value); return *this;}
69 inline UtteranceList& WithUtterances(Aws::Vector<UtteranceData>&& value) { SetUtterances(std::move(value)); return *this;}
70 inline UtteranceList& AddUtterances(const UtteranceData& value) { m_utterancesHasBeenSet = true; m_utterances.push_back(value); return *this; }
71 inline UtteranceList& AddUtterances(UtteranceData&& value) { m_utterancesHasBeenSet = true; m_utterances.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::String m_botVersion;
76 bool m_botVersionHasBeenSet = false;
77
78 Aws::Vector<UtteranceData> m_utterances;
79 bool m_utterancesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace LexModelBuildingService
84} // namespace Aws
UtteranceList & WithUtterances(Aws::Vector< UtteranceData > &&value)
AWS_LEXMODELBUILDINGSERVICE_API UtteranceList & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API UtteranceList()
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
UtteranceList & AddUtterances(const UtteranceData &value)
UtteranceList & AddUtterances(UtteranceData &&value)
UtteranceList & WithBotVersion(Aws::String &&value)
const Aws::Vector< UtteranceData > & GetUtterances() const
void SetUtterances(const Aws::Vector< UtteranceData > &value)
UtteranceList & WithBotVersion(const char *value)
void SetUtterances(Aws::Vector< UtteranceData > &&value)
AWS_LEXMODELBUILDINGSERVICE_API UtteranceList(Aws::Utils::Json::JsonView jsonValue)
UtteranceList & WithBotVersion(const Aws::String &value)
UtteranceList & WithUtterances(const Aws::Vector< UtteranceData > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue