AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GroupConfigurationParameter.h
1
6#pragma once
7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ResourceGroups
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_RESOURCEGROUPS_API GroupConfigurationParameter() = default;
41 AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 GroupConfigurationParameter& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
70 template<typename ValuesT = Aws::Vector<Aws::String>>
71 GroupConfigurationParameter& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
72 template<typename ValuesT = Aws::String>
73 GroupConfigurationParameter& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
75 private:
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79
81 bool m_valuesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ResourceGroups
86} // 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