AWS SDK for C++  1.9.108
AWS SDK for C++
GroupQuery.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ResourceGroups
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetGroupName() const{ return m_groupName; }
47 
52  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
53 
58  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
59 
64  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
65 
70  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
71 
76  inline GroupQuery& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
77 
82  inline GroupQuery& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
83 
88  inline GroupQuery& WithGroupName(const char* value) { SetGroupName(value); return *this;}
89 
90 
95  inline const ResourceQuery& GetResourceQuery() const{ return m_resourceQuery; }
96 
101  inline bool ResourceQueryHasBeenSet() const { return m_resourceQueryHasBeenSet; }
102 
107  inline void SetResourceQuery(const ResourceQuery& value) { m_resourceQueryHasBeenSet = true; m_resourceQuery = value; }
108 
113  inline void SetResourceQuery(ResourceQuery&& value) { m_resourceQueryHasBeenSet = true; m_resourceQuery = std::move(value); }
114 
119  inline GroupQuery& WithResourceQuery(const ResourceQuery& value) { SetResourceQuery(value); return *this;}
120 
125  inline GroupQuery& WithResourceQuery(ResourceQuery&& value) { SetResourceQuery(std::move(value)); return *this;}
126 
127  private:
128 
129  Aws::String m_groupName;
130  bool m_groupNameHasBeenSet;
131 
132  ResourceQuery m_resourceQuery;
133  bool m_resourceQueryHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace ResourceGroups
138 } // namespace Aws
ResourceQuery.h
Aws::ResourceGroups::Model::GroupQuery::GroupQuery
GroupQuery(Aws::Utils::Json::JsonView jsonValue)
Aws::ResourceGroups::Model::GroupQuery::SetResourceQuery
void SetResourceQuery(const ResourceQuery &value)
Definition: GroupQuery.h:107
Aws::ResourceGroups::Model::GroupQuery
Definition: GroupQuery.h:34
AWS_RESOURCEGROUPS_API
#define AWS_RESOURCEGROUPS_API
Definition: ResourceGroups_EXPORTS.h:28
Aws::ResourceGroups::Model::GroupQuery::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: GroupQuery.h:58
Aws::ResourceGroups::Model::GroupQuery::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: GroupQuery.h:64
Aws::ResourceGroups::Model::GroupQuery::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ResourceGroups::Model::GroupQuery::GroupQuery
GroupQuery()
Aws::ResourceGroups::Model::GroupQuery::WithGroupName
GroupQuery & WithGroupName(Aws::String &&value)
Definition: GroupQuery.h:82
Aws::ResourceGroups::Model::GroupQuery::GetResourceQuery
const ResourceQuery & GetResourceQuery() const
Definition: GroupQuery.h:95
Aws::ResourceGroups::Model::GroupQuery::SetResourceQuery
void SetResourceQuery(ResourceQuery &&value)
Definition: GroupQuery.h:113
Aws::ResourceGroups::Model::GroupQuery::WithResourceQuery
GroupQuery & WithResourceQuery(ResourceQuery &&value)
Definition: GroupQuery.h:125
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ResourceGroups::Model::GroupQuery::SetGroupName
void SetGroupName(const char *value)
Definition: GroupQuery.h:70
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ResourceGroups::Model::GroupQuery::operator=
GroupQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ResourceGroups::Model::GroupQuery::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: GroupQuery.h:52
Aws::ResourceGroups::Model::GroupQuery::WithResourceQuery
GroupQuery & WithResourceQuery(const ResourceQuery &value)
Definition: GroupQuery.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::ResourceGroups::Model::ResourceQuery
Definition: ResourceQuery.h:71
ResourceGroups_EXPORTS.h
Aws::ResourceGroups::Model::GroupQuery::ResourceQueryHasBeenSet
bool ResourceQueryHasBeenSet() const
Definition: GroupQuery.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ResourceGroups::Model::GroupQuery::WithGroupName
GroupQuery & WithGroupName(const Aws::String &value)
Definition: GroupQuery.h:76
Aws::ResourceGroups::Model::GroupQuery::GetGroupName
const Aws::String & GetGroupName() const
Definition: GroupQuery.h:46
Aws::ResourceGroups::Model::GroupQuery::WithGroupName
GroupQuery & WithGroupName(const char *value)
Definition: GroupQuery.h:88