AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GroupConfigurationItem.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 <aws/resource-groups/model/GroupConfigurationParameter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResourceGroups
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_RESOURCEGROUPS_API GroupConfigurationItem();
40 AWS_RESOURCEGROUPS_API GroupConfigurationItem(Aws::Utils::Json::JsonView jsonValue);
42 AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const Aws::String& GetType() const{ return m_type; }
54 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
55 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
56 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
57 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
58 inline GroupConfigurationItem& WithType(const Aws::String& value) { SetType(value); return *this;}
59 inline GroupConfigurationItem& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
60 inline GroupConfigurationItem& WithType(const char* value) { SetType(value); return *this;}
62
64
70 inline const Aws::Vector<GroupConfigurationParameter>& GetParameters() const{ return m_parameters; }
71 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
72 inline void SetParameters(const Aws::Vector<GroupConfigurationParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
73 inline void SetParameters(Aws::Vector<GroupConfigurationParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
76 inline GroupConfigurationItem& AddParameters(const GroupConfigurationParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
77 inline GroupConfigurationItem& AddParameters(GroupConfigurationParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_type;
82 bool m_typeHasBeenSet = false;
83
85 bool m_parametersHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ResourceGroups
90} // namespace Aws
AWS_RESOURCEGROUPS_API GroupConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupConfigurationItem & WithType(const Aws::String &value)
void SetParameters(Aws::Vector< GroupConfigurationParameter > &&value)
GroupConfigurationItem & WithParameters(Aws::Vector< GroupConfigurationParameter > &&value)
GroupConfigurationItem & WithParameters(const Aws::Vector< GroupConfigurationParameter > &value)
AWS_RESOURCEGROUPS_API GroupConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(const Aws::Vector< GroupConfigurationParameter > &value)
GroupConfigurationItem & WithType(Aws::String &&value)
GroupConfigurationItem & AddParameters(const GroupConfigurationParameter &value)
const Aws::Vector< GroupConfigurationParameter > & GetParameters() const
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
GroupConfigurationItem & AddParameters(GroupConfigurationParameter &&value)
GroupConfigurationItem & WithType(const char *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