AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConversationLogSettings.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-models/model/TextLogSetting.h>
10#include <aws/lexv2-models/model/AudioLogSetting.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 ConversationLogSettings() = default;
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<TextLogSetting>& GetTextLogSettings() const { return m_textLogSettings; }
48 inline bool TextLogSettingsHasBeenSet() const { return m_textLogSettingsHasBeenSet; }
49 template<typename TextLogSettingsT = Aws::Vector<TextLogSetting>>
50 void SetTextLogSettings(TextLogSettingsT&& value) { m_textLogSettingsHasBeenSet = true; m_textLogSettings = std::forward<TextLogSettingsT>(value); }
51 template<typename TextLogSettingsT = Aws::Vector<TextLogSetting>>
52 ConversationLogSettings& WithTextLogSettings(TextLogSettingsT&& value) { SetTextLogSettings(std::forward<TextLogSettingsT>(value)); return *this;}
53 template<typename TextLogSettingsT = TextLogSetting>
54 ConversationLogSettings& AddTextLogSettings(TextLogSettingsT&& value) { m_textLogSettingsHasBeenSet = true; m_textLogSettings.emplace_back(std::forward<TextLogSettingsT>(value)); return *this; }
56
58
61 inline const Aws::Vector<AudioLogSetting>& GetAudioLogSettings() const { return m_audioLogSettings; }
62 inline bool AudioLogSettingsHasBeenSet() const { return m_audioLogSettingsHasBeenSet; }
63 template<typename AudioLogSettingsT = Aws::Vector<AudioLogSetting>>
64 void SetAudioLogSettings(AudioLogSettingsT&& value) { m_audioLogSettingsHasBeenSet = true; m_audioLogSettings = std::forward<AudioLogSettingsT>(value); }
65 template<typename AudioLogSettingsT = Aws::Vector<AudioLogSetting>>
66 ConversationLogSettings& WithAudioLogSettings(AudioLogSettingsT&& value) { SetAudioLogSettings(std::forward<AudioLogSettingsT>(value)); return *this;}
67 template<typename AudioLogSettingsT = AudioLogSetting>
68 ConversationLogSettings& AddAudioLogSettings(AudioLogSettingsT&& value) { m_audioLogSettingsHasBeenSet = true; m_audioLogSettings.emplace_back(std::forward<AudioLogSettingsT>(value)); return *this; }
70 private:
71
72 Aws::Vector<TextLogSetting> m_textLogSettings;
73 bool m_textLogSettingsHasBeenSet = false;
74
75 Aws::Vector<AudioLogSetting> m_audioLogSettings;
76 bool m_audioLogSettingsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace LexModelsV2
81} // namespace Aws
AWS_LEXMODELSV2_API ConversationLogSettings()=default
AWS_LEXMODELSV2_API ConversationLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AudioLogSetting > & GetAudioLogSettings() const
ConversationLogSettings & WithTextLogSettings(TextLogSettingsT &&value)
const Aws::Vector< TextLogSetting > & GetTextLogSettings() const
ConversationLogSettings & AddTextLogSettings(TextLogSettingsT &&value)
AWS_LEXMODELSV2_API ConversationLogSettings(Aws::Utils::Json::JsonView jsonValue)
ConversationLogSettings & WithAudioLogSettings(AudioLogSettingsT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLogSettings & AddAudioLogSettings(AudioLogSettingsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue