AWS SDK for C++

AWS SDK for C++ Version 1.11.813

Loading...
Searching...
No Matches
PutResourceConfiguration.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
30 public:
31 AWS_DATAZONE_API PutResourceConfiguration() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetRegion() const { return m_region; }
77 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
78 template <typename RegionT = Aws::String>
79 void SetRegion(RegionT&& value) {
80 m_regionHasBeenSet = true;
81 m_region = std::forward<RegionT>(value);
82 }
83 template <typename RegionT = Aws::String>
85 SetRegion(std::forward<RegionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
95 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
96 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
97 void SetParameters(ParametersT&& value) {
98 m_parametersHasBeenSet = true;
99 m_parameters = std::forward<ParametersT>(value);
100 }
101 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
103 SetParameters(std::forward<ParametersT>(value));
104 return *this;
105 }
106 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
107 PutResourceConfiguration& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
108 m_parametersHasBeenSet = true;
109 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_name;
115
116 Aws::String m_description;
117
118 Aws::String m_region;
119
121 bool m_nameHasBeenSet = false;
122 bool m_descriptionHasBeenSet = false;
123 bool m_regionHasBeenSet = false;
124 bool m_parametersHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace DataZone
129} // namespace Aws
PutResourceConfiguration & WithName(NameT &&value)
PutResourceConfiguration & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API PutResourceConfiguration()=default
PutResourceConfiguration & WithRegion(RegionT &&value)
PutResourceConfiguration & WithParameters(ParametersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_DATAZONE_API PutResourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
PutResourceConfiguration & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_DATAZONE_API PutResourceConfiguration(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