AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioLogSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AudioLogDestination.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_LEXMODELSV2_API AudioLogSetting();
37 AWS_LEXMODELSV2_API AudioLogSetting(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API AudioLogSetting& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetEnabled() const{ return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline AudioLogSetting& WithEnabled(bool value) { SetEnabled(value); return *this;}
51
53
54 inline const AudioLogDestination& GetDestination() const{ return m_destination; }
55 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
56 inline void SetDestination(const AudioLogDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
57 inline void SetDestination(AudioLogDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
58 inline AudioLogSetting& WithDestination(const AudioLogDestination& value) { SetDestination(value); return *this;}
59 inline AudioLogSetting& WithDestination(AudioLogDestination&& value) { SetDestination(std::move(value)); return *this;}
61
63
66 inline bool GetSelectiveLoggingEnabled() const{ return m_selectiveLoggingEnabled; }
67 inline bool SelectiveLoggingEnabledHasBeenSet() const { return m_selectiveLoggingEnabledHasBeenSet; }
68 inline void SetSelectiveLoggingEnabled(bool value) { m_selectiveLoggingEnabledHasBeenSet = true; m_selectiveLoggingEnabled = value; }
69 inline AudioLogSetting& WithSelectiveLoggingEnabled(bool value) { SetSelectiveLoggingEnabled(value); return *this;}
71 private:
72
73 bool m_enabled;
74 bool m_enabledHasBeenSet = false;
75
76 AudioLogDestination m_destination;
77 bool m_destinationHasBeenSet = false;
78
79 bool m_selectiveLoggingEnabled;
80 bool m_selectiveLoggingEnabledHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace LexModelsV2
85} // namespace Aws
AudioLogSetting & WithDestination(AudioLogDestination &&value)
void SetDestination(const AudioLogDestination &value)
AudioLogSetting & WithDestination(const AudioLogDestination &value)
AWS_LEXMODELSV2_API AudioLogSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
const AudioLogDestination & GetDestination() const
AWS_LEXMODELSV2_API AudioLogSetting(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AudioLogSetting & WithSelectiveLoggingEnabled(bool value)
void SetDestination(AudioLogDestination &&value)
AudioLogSetting & WithEnabled(bool value)
Aws::Utils::Json::JsonValue JsonValue