AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GroupConfigurationParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ResourceGroups {
21namespace Model {
22
32 public:
33 AWS_RESOURCEGROUPS_API GroupConfigurationParameter() = default;
36 AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
66 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
67 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
68 template <typename ValuesT = Aws::Vector<Aws::String>>
69 void SetValues(ValuesT&& value) {
70 m_valuesHasBeenSet = true;
71 m_values = std::forward<ValuesT>(value);
72 }
73 template <typename ValuesT = Aws::Vector<Aws::String>>
75 SetValues(std::forward<ValuesT>(value));
76 return *this;
77 }
78 template <typename ValuesT = Aws::String>
80 m_valuesHasBeenSet = true;
81 m_values.emplace_back(std::forward<ValuesT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_name;
87
89 bool m_nameHasBeenSet = false;
90 bool m_valuesHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace ResourceGroups
95} // namespace Aws
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESOURCEGROUPS_API GroupConfigurationParameter()=default
AWS_RESOURCEGROUPS_API GroupConfigurationParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEGROUPS_API GroupConfigurationParameter(Aws::Utils::Json::JsonView jsonValue)
GroupConfigurationParameter & WithValues(ValuesT &&value)
GroupConfigurationParameter & AddValues(ValuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue