AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTextLogSettings(const Aws::Vector<TextLogSetting>& value) { m_textLogSettingsHasBeenSet = true; m_textLogSettings = value; }
50 inline void SetTextLogSettings(Aws::Vector<TextLogSetting>&& value) { m_textLogSettingsHasBeenSet = true; m_textLogSettings = std::move(value); }
53 inline ConversationLogSettings& AddTextLogSettings(const TextLogSetting& value) { m_textLogSettingsHasBeenSet = true; m_textLogSettings.push_back(value); return *this; }
54 inline ConversationLogSettings& AddTextLogSettings(TextLogSetting&& value) { m_textLogSettingsHasBeenSet = true; m_textLogSettings.push_back(std::move(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 inline void SetAudioLogSettings(const Aws::Vector<AudioLogSetting>& value) { m_audioLogSettingsHasBeenSet = true; m_audioLogSettings = value; }
64 inline void SetAudioLogSettings(Aws::Vector<AudioLogSetting>&& value) { m_audioLogSettingsHasBeenSet = true; m_audioLogSettings = std::move(value); }
67 inline ConversationLogSettings& AddAudioLogSettings(const AudioLogSetting& value) { m_audioLogSettingsHasBeenSet = true; m_audioLogSettings.push_back(value); return *this; }
68 inline ConversationLogSettings& AddAudioLogSettings(AudioLogSetting&& value) { m_audioLogSettingsHasBeenSet = true; m_audioLogSettings.push_back(std::move(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 & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLogSettings & WithTextLogSettings(Aws::Vector< TextLogSetting > &&value)
void SetAudioLogSettings(Aws::Vector< AudioLogSetting > &&value)
void SetTextLogSettings(const Aws::Vector< TextLogSetting > &value)
ConversationLogSettings & AddTextLogSettings(const TextLogSetting &value)
const Aws::Vector< AudioLogSetting > & GetAudioLogSettings() const
ConversationLogSettings & WithTextLogSettings(const Aws::Vector< TextLogSetting > &value)
ConversationLogSettings & AddAudioLogSettings(AudioLogSetting &&value)
void SetTextLogSettings(Aws::Vector< TextLogSetting > &&value)
const Aws::Vector< TextLogSetting > & GetTextLogSettings() const
AWS_LEXMODELSV2_API ConversationLogSettings(Aws::Utils::Json::JsonView jsonValue)
ConversationLogSettings & WithAudioLogSettings(Aws::Vector< AudioLogSetting > &&value)
ConversationLogSettings & AddTextLogSettings(TextLogSetting &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLogSettings & WithAudioLogSettings(const Aws::Vector< AudioLogSetting > &value)
ConversationLogSettings & AddAudioLogSettings(const AudioLogSetting &value)
void SetAudioLogSettings(const Aws::Vector< AudioLogSetting > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue