AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetFlowPermissionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/Permission.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
27 public:
28 AWS_QUICKSIGHT_API GetFlowPermissionsResult() = default;
31
33
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetFlowId() const { return m_flowId; }
55 template <typename FlowIdT = Aws::String>
56 void SetFlowId(FlowIdT&& value) {
57 m_flowIdHasBeenSet = true;
58 m_flowId = std::forward<FlowIdT>(value);
59 }
60 template <typename FlowIdT = Aws::String>
62 SetFlowId(std::forward<FlowIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Vector<Permission>& GetPermissions() const { return m_permissions; }
72 template <typename PermissionsT = Aws::Vector<Permission>>
73 void SetPermissions(PermissionsT&& value) {
74 m_permissionsHasBeenSet = true;
75 m_permissions = std::forward<PermissionsT>(value);
76 }
77 template <typename PermissionsT = Aws::Vector<Permission>>
79 SetPermissions(std::forward<PermissionsT>(value));
80 return *this;
81 }
82 template <typename PermissionsT = Permission>
84 m_permissionsHasBeenSet = true;
85 m_permissions.emplace_back(std::forward<PermissionsT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104
106
109 inline int GetStatus() const { return m_status; }
110 inline void SetStatus(int value) {
111 m_statusHasBeenSet = true;
112 m_status = value;
113 }
115 SetStatus(value);
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
122 Aws::String m_arn;
123
124 Aws::String m_flowId;
125
126 Aws::Vector<Permission> m_permissions;
127
128 Aws::String m_requestId;
129
130 int m_status{0};
131 Aws::Http::HttpResponseCode m_HttpResponseCode;
132 bool m_arnHasBeenSet = false;
133 bool m_flowIdHasBeenSet = false;
134 bool m_permissionsHasBeenSet = false;
135 bool m_requestIdHasBeenSet = false;
136 bool m_statusHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace QuickSight
141} // namespace Aws
GetFlowPermissionsResult & WithPermissions(PermissionsT &&value)
AWS_QUICKSIGHT_API GetFlowPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowPermissionsResult & AddPermissions(PermissionsT &&value)
AWS_QUICKSIGHT_API GetFlowPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowPermissionsResult & WithArn(ArnT &&value)
GetFlowPermissionsResult & WithFlowId(FlowIdT &&value)
GetFlowPermissionsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Permission > & GetPermissions() const
AWS_QUICKSIGHT_API GetFlowPermissionsResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue