AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline GroupConfigurationParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline GroupConfigurationParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline GroupConfigurationParameter& WithName(const char* value) { SetName(value); return *this;}
60
62
68 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
69 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
70 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
71 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
72 inline GroupConfigurationParameter& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
73 inline GroupConfigurationParameter& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
74 inline GroupConfigurationParameter& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
75 inline GroupConfigurationParameter& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
76 inline GroupConfigurationParameter& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
78 private:
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
84 bool m_valuesHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ResourceGroups
89} // namespace Aws
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
GroupConfigurationParameter & WithName(Aws::String &&value)
GroupConfigurationParameter & WithName(const char *value)
GroupConfigurationParameter & WithValues(Aws::Vector< Aws::String > &&value)
GroupConfigurationParameter & WithName(const Aws::String &value)
GroupConfigurationParameter & AddValues(Aws::String &&value)
void SetValues(const Aws::Vector< Aws::String > &value)
AWS_RESOURCEGROUPS_API GroupConfigurationParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEGROUPS_API GroupConfigurationParameter(Aws::Utils::Json::JsonView jsonValue)
GroupConfigurationParameter & WithValues(const Aws::Vector< Aws::String > &value)
GroupConfigurationParameter & AddValues(const char *value)
GroupConfigurationParameter & AddValues(const Aws::String &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