AWS SDK for C++

AWS SDK for C++ Version 1.11.684

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