AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
AuditCheckConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/ConfigName.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT {
22namespace Model {
23
31 public:
32 AWS_IOT_API AuditCheckConfiguration() = default;
36
38
41 inline bool GetEnabled() const { return m_enabled; }
42 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
43 inline void SetEnabled(bool value) {
44 m_enabledHasBeenSet = true;
45 m_enabled = value;
46 }
48 SetEnabled(value);
49 return *this;
50 }
52
54
58 inline const Aws::Map<ConfigName, Aws::String>& GetConfiguration() const { return m_configuration; }
59 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
60 template <typename ConfigurationT = Aws::Map<ConfigName, Aws::String>>
61 void SetConfiguration(ConfigurationT&& value) {
62 m_configurationHasBeenSet = true;
63 m_configuration = std::forward<ConfigurationT>(value);
64 }
65 template <typename ConfigurationT = Aws::Map<ConfigName, Aws::String>>
66 AuditCheckConfiguration& WithConfiguration(ConfigurationT&& value) {
67 SetConfiguration(std::forward<ConfigurationT>(value));
68 return *this;
69 }
71 m_configurationHasBeenSet = true;
72 m_configuration.emplace(key, value);
73 return *this;
74 }
76 private:
77 bool m_enabled{false};
78
80 bool m_enabledHasBeenSet = false;
81 bool m_configurationHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace IoT
86} // namespace Aws
AWS_IOT_API AuditCheckConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< ConfigName, Aws::String > & GetConfiguration() const
AWS_IOT_API AuditCheckConfiguration()=default
AWS_IOT_API AuditCheckConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AuditCheckConfiguration & WithConfiguration(ConfigurationT &&value)
AuditCheckConfiguration & WithEnabled(bool value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditCheckConfiguration & AddConfiguration(ConfigName key, Aws::String value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue