AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
Configuration.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/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
29 public:
30 AWS_DATAZONE_API Configuration() = default;
31 AWS_DATAZONE_API Configuration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetClassification() const { return m_classification; }
40 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
41 template <typename ClassificationT = Aws::String>
42 void SetClassification(ClassificationT&& value) {
43 m_classificationHasBeenSet = true;
44 m_classification = std::forward<ClassificationT>(value);
45 }
46 template <typename ClassificationT = Aws::String>
47 Configuration& WithClassification(ClassificationT&& value) {
48 SetClassification(std::forward<ClassificationT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const { return m_properties; }
58 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
59 template <typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
60 void SetProperties(PropertiesT&& value) {
61 m_propertiesHasBeenSet = true;
62 m_properties = std::forward<PropertiesT>(value);
63 }
64 template <typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
65 Configuration& WithProperties(PropertiesT&& value) {
66 SetProperties(std::forward<PropertiesT>(value));
67 return *this;
68 }
69 template <typename PropertiesKeyT = Aws::String, typename PropertiesValueT = Aws::String>
70 Configuration& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) {
71 m_propertiesHasBeenSet = true;
72 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_classification;
78
80 bool m_classificationHasBeenSet = false;
81 bool m_propertiesHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace DataZone
86} // namespace Aws
void SetProperties(PropertiesT &&value)
void SetClassification(ClassificationT &&value)
const Aws::String & GetClassification() const
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
AWS_DATAZONE_API Configuration(Aws::Utils::Json::JsonView jsonValue)
Configuration & WithProperties(PropertiesT &&value)
Configuration & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
Configuration & WithClassification(ClassificationT &&value)
AWS_DATAZONE_API Configuration()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
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