AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetGroupQueryResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
9#include <aws/resource-groups/model/GroupQuery.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ResourceGroups {
23namespace Model {
25 public:
26 AWS_RESOURCEGROUPS_API GetGroupQueryResult() = default;
29
31
37 inline const GroupQuery& GetGroupQuery() const { return m_groupQuery; }
38 template <typename GroupQueryT = GroupQuery>
39 void SetGroupQuery(GroupQueryT&& value) {
40 m_groupQueryHasBeenSet = true;
41 m_groupQuery = std::forward<GroupQueryT>(value);
42 }
43 template <typename GroupQueryT = GroupQuery>
44 GetGroupQueryResult& WithGroupQuery(GroupQueryT&& value) {
45 SetGroupQuery(std::forward<GroupQueryT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template <typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) {
55 m_requestIdHasBeenSet = true;
56 m_requestId = std::forward<RequestIdT>(value);
57 }
58 template <typename RequestIdT = Aws::String>
59 GetGroupQueryResult& WithRequestId(RequestIdT&& value) {
60 SetRequestId(std::forward<RequestIdT>(value));
61 return *this;
62 }
64 private:
65 GroupQuery m_groupQuery;
66
67 Aws::String m_requestId;
68 bool m_groupQueryHasBeenSet = false;
69 bool m_requestIdHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace ResourceGroups
74} // namespace Aws
AWS_RESOURCEGROUPS_API GetGroupQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupQueryResult & WithRequestId(RequestIdT &&value)
AWS_RESOURCEGROUPS_API GetGroupQueryResult()=default
GetGroupQueryResult & WithGroupQuery(GroupQueryT &&value)
AWS_RESOURCEGROUPS_API GetGroupQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue