AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AuditCheckConfiguration.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/iot/model/ConfigName.h>
10#include <aws/core/utils/memory/stl/AWSString.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 IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API AuditCheckConfiguration() = default;
41
42
44
47 inline bool GetEnabled() const { return m_enabled; }
48 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
49 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
50 inline AuditCheckConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
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) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
62 template<typename ConfigurationT = Aws::Map<ConfigName, Aws::String>>
63 AuditCheckConfiguration& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
65 m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this;
66 }
68 private:
69
70 bool m_enabled{false};
71 bool m_enabledHasBeenSet = false;
72
74 bool m_configurationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoT
79} // 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