AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGroupQueryRequest.h
1
6#pragma once
7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/ResourceGroupsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resource-groups/model/ResourceQuery.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ResourceGroups
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_RESOURCEGROUPS_API UpdateGroupQueryRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroupQuery"; }
32
33 AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetGroup() const{ return m_group; }
42 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
43 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
44 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
45 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
46 inline UpdateGroupQueryRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
47 inline UpdateGroupQueryRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
48 inline UpdateGroupQueryRequest& WithGroup(const char* value) { SetGroup(value); return *this;}
50
52
58 inline const ResourceQuery& GetResourceQuery() const{ return m_resourceQuery; }
59 inline bool ResourceQueryHasBeenSet() const { return m_resourceQueryHasBeenSet; }
60 inline void SetResourceQuery(const ResourceQuery& value) { m_resourceQueryHasBeenSet = true; m_resourceQuery = value; }
61 inline void SetResourceQuery(ResourceQuery&& value) { m_resourceQueryHasBeenSet = true; m_resourceQuery = std::move(value); }
62 inline UpdateGroupQueryRequest& WithResourceQuery(const ResourceQuery& value) { SetResourceQuery(value); return *this;}
63 inline UpdateGroupQueryRequest& WithResourceQuery(ResourceQuery&& value) { SetResourceQuery(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_group;
68 bool m_groupHasBeenSet = false;
69
70 ResourceQuery m_resourceQuery;
71 bool m_resourceQueryHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ResourceGroups
76} // namespace Aws
UpdateGroupQueryRequest & WithResourceQuery(const ResourceQuery &value)
UpdateGroupQueryRequest & WithResourceQuery(ResourceQuery &&value)
UpdateGroupQueryRequest & WithGroup(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateGroupQueryRequest & WithGroup(const Aws::String &value)
UpdateGroupQueryRequest & WithGroup(const char *value)
AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String