AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TypeT = Aws::String>
56 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
57 template<typename TypeT = Aws::String>
58 GroupConfigurationItem& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
60
62
68 inline const Aws::Vector<GroupConfigurationParameter>& GetParameters() const { return m_parameters; }
69 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
70 template<typename ParametersT = Aws::Vector<GroupConfigurationParameter>>
71 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
72 template<typename ParametersT = Aws::Vector<GroupConfigurationParameter>>
73 GroupConfigurationItem& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
74 template<typename ParametersT = GroupConfigurationParameter>
75 GroupConfigurationItem& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
77 private:
78
79 Aws::String m_type;
80 bool m_typeHasBeenSet = false;
81
83 bool m_parametersHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ResourceGroups
88} // namespace Aws
AWS_RESOURCEGROUPS_API GroupConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEGROUPS_API GroupConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
GroupConfigurationItem & WithType(TypeT &&value)
AWS_RESOURCEGROUPS_API GroupConfigurationItem()=default
GroupConfigurationItem & AddParameters(ParametersT &&value)
const Aws::Vector< GroupConfigurationParameter > & GetParameters() const
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
GroupConfigurationItem & WithParameters(ParametersT &&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