AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecordingStrategy.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/RecordingStrategyType.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 ConfigService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONFIGSERVICE_API RecordingStrategy();
36 AWS_CONFIGSERVICE_API RecordingStrategy(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API RecordingStrategy& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
98 inline const RecordingStrategyType& GetUseOnly() const{ return m_useOnly; }
99 inline bool UseOnlyHasBeenSet() const { return m_useOnlyHasBeenSet; }
100 inline void SetUseOnly(const RecordingStrategyType& value) { m_useOnlyHasBeenSet = true; m_useOnly = value; }
101 inline void SetUseOnly(RecordingStrategyType&& value) { m_useOnlyHasBeenSet = true; m_useOnly = std::move(value); }
102 inline RecordingStrategy& WithUseOnly(const RecordingStrategyType& value) { SetUseOnly(value); return *this;}
103 inline RecordingStrategy& WithUseOnly(RecordingStrategyType&& value) { SetUseOnly(std::move(value)); return *this;}
105 private:
106
107 RecordingStrategyType m_useOnly;
108 bool m_useOnlyHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ConfigService
113} // namespace Aws
RecordingStrategy & WithUseOnly(RecordingStrategyType &&value)
AWS_CONFIGSERVICE_API RecordingStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
const RecordingStrategyType & GetUseOnly() const
void SetUseOnly(const RecordingStrategyType &value)
void SetUseOnly(RecordingStrategyType &&value)
AWS_CONFIGSERVICE_API RecordingStrategy(Aws::Utils::Json::JsonView jsonValue)
RecordingStrategy & WithUseOnly(const RecordingStrategyType &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue