AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename GroupT = Aws::String>
44 void SetGroup(GroupT&& value) { m_groupHasBeenSet = true; m_group = std::forward<GroupT>(value); }
45 template<typename GroupT = Aws::String>
46 UpdateGroupQueryRequest& WithGroup(GroupT&& value) { SetGroup(std::forward<GroupT>(value)); return *this;}
48
50
56 inline const ResourceQuery& GetResourceQuery() const { return m_resourceQuery; }
57 inline bool ResourceQueryHasBeenSet() const { return m_resourceQueryHasBeenSet; }
58 template<typename ResourceQueryT = ResourceQuery>
59 void SetResourceQuery(ResourceQueryT&& value) { m_resourceQueryHasBeenSet = true; m_resourceQuery = std::forward<ResourceQueryT>(value); }
60 template<typename ResourceQueryT = ResourceQuery>
61 UpdateGroupQueryRequest& WithResourceQuery(ResourceQueryT&& value) { SetResourceQuery(std::forward<ResourceQueryT>(value)); return *this;}
63 private:
64
65 Aws::String m_group;
66 bool m_groupHasBeenSet = false;
67
68 ResourceQuery m_resourceQuery;
69 bool m_resourceQueryHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace ResourceGroups
74} // 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