AWS SDK for C++  1.9.106
AWS SDK for C++
GroupConfigurationItem.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ResourceGroups
24 {
25 namespace Model
26 {
27 
37  {
38  public:
43 
44 
52  inline const Aws::String& GetType() const{ return m_type; }
53 
61  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 
70  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
71 
79  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
80 
88  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
89 
97  inline GroupConfigurationItem& WithType(const Aws::String& value) { SetType(value); return *this;}
98 
106  inline GroupConfigurationItem& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
107 
115  inline GroupConfigurationItem& WithType(const char* value) { SetType(value); return *this;}
116 
117 
124  inline const Aws::Vector<GroupConfigurationParameter>& GetParameters() const{ return m_parameters; }
125 
132  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
133 
140  inline void SetParameters(const Aws::Vector<GroupConfigurationParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
141 
148  inline void SetParameters(Aws::Vector<GroupConfigurationParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
149 
156  inline GroupConfigurationItem& WithParameters(const Aws::Vector<GroupConfigurationParameter>& value) { SetParameters(value); return *this;}
157 
164  inline GroupConfigurationItem& WithParameters(Aws::Vector<GroupConfigurationParameter>&& value) { SetParameters(std::move(value)); return *this;}
165 
172  inline GroupConfigurationItem& AddParameters(const GroupConfigurationParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
173 
180  inline GroupConfigurationItem& AddParameters(GroupConfigurationParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
181 
182  private:
183 
184  Aws::String m_type;
185  bool m_typeHasBeenSet;
186 
188  bool m_parametersHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace ResourceGroups
193 } // namespace Aws
Aws::ResourceGroups::Model::GroupConfigurationParameter
Definition: GroupConfigurationParameter.h:36
Aws::ResourceGroups::Model::GroupConfigurationItem::GroupConfigurationItem
GroupConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
Aws::ResourceGroups::Model::GroupConfigurationItem::WithType
GroupConfigurationItem & WithType(const char *value)
Definition: GroupConfigurationItem.h:115
AWS_RESOURCEGROUPS_API
#define AWS_RESOURCEGROUPS_API
Definition: ResourceGroups_EXPORTS.h:28
Aws::ResourceGroups::Model::GroupConfigurationItem::SetType
void SetType(Aws::String &&value)
Definition: GroupConfigurationItem.h:79
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ResourceGroups::Model::GroupConfigurationItem::AddParameters
GroupConfigurationItem & AddParameters(const GroupConfigurationParameter &value)
Definition: GroupConfigurationItem.h:172
Aws::ResourceGroups::Model::GroupConfigurationItem::WithType
GroupConfigurationItem & WithType(const Aws::String &value)
Definition: GroupConfigurationItem.h:97
AWSVector.h
Aws::ResourceGroups::Model::GroupConfigurationItem::WithType
GroupConfigurationItem & WithType(Aws::String &&value)
Definition: GroupConfigurationItem.h:106
Aws::ResourceGroups::Model::GroupConfigurationItem::AddParameters
GroupConfigurationItem & AddParameters(GroupConfigurationParameter &&value)
Definition: GroupConfigurationItem.h:180
Aws::ResourceGroups::Model::GroupConfigurationItem::SetType
void SetType(const Aws::String &value)
Definition: GroupConfigurationItem.h:70
Aws::ResourceGroups::Model::GroupConfigurationItem::WithParameters
GroupConfigurationItem & WithParameters(Aws::Vector< GroupConfigurationParameter > &&value)
Definition: GroupConfigurationItem.h:164
Aws::ResourceGroups::Model::GroupConfigurationItem::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: GroupConfigurationItem.h:61
Aws::ResourceGroups::Model::GroupConfigurationItem
Definition: GroupConfigurationItem.h:37
Aws::ResourceGroups::Model::GroupConfigurationItem::operator=
GroupConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ResourceGroups::Model::GroupConfigurationItem::SetParameters
void SetParameters(const Aws::Vector< GroupConfigurationParameter > &value)
Definition: GroupConfigurationItem.h:140
Aws::ResourceGroups::Model::GroupConfigurationItem::GroupConfigurationItem
GroupConfigurationItem()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ResourceGroups::Model::GroupConfigurationItem::WithParameters
GroupConfigurationItem & WithParameters(const Aws::Vector< GroupConfigurationParameter > &value)
Definition: GroupConfigurationItem.h:156
Aws::ResourceGroups::Model::GroupConfigurationItem::GetType
const Aws::String & GetType() const
Definition: GroupConfigurationItem.h:52
Aws::ResourceGroups::Model::GroupConfigurationItem::SetType
void SetType(const char *value)
Definition: GroupConfigurationItem.h:88
Aws
Definition: AccessManagementClient.h:15
ResourceGroups_EXPORTS.h
Aws::ResourceGroups::Model::GroupConfigurationItem::SetParameters
void SetParameters(Aws::Vector< GroupConfigurationParameter > &&value)
Definition: GroupConfigurationItem.h:148
GroupConfigurationParameter.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ResourceGroups::Model::GroupConfigurationItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ResourceGroups::Model::GroupConfigurationItem::GetParameters
const Aws::Vector< GroupConfigurationParameter > & GetParameters() const
Definition: GroupConfigurationItem.h:124
Aws::ResourceGroups::Model::GroupConfigurationItem::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: GroupConfigurationItem.h:132