AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DisassociateResourceSharePermissionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/RAM_EXPORTS.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 RAM {
23namespace Model {
25 public:
29
31
35 inline bool GetReturnValue() const { return m_returnValue; }
36 inline void SetReturnValue(bool value) {
37 m_returnValueHasBeenSet = true;
38 m_returnValue = value;
39 }
41 SetReturnValue(value);
42 return *this;
43 }
45
47
54 inline const Aws::String& GetClientToken() const { return m_clientToken; }
55 template <typename ClientTokenT = Aws::String>
56 void SetClientToken(ClientTokenT&& value) {
57 m_clientTokenHasBeenSet = true;
58 m_clientToken = std::forward<ClientTokenT>(value);
59 }
60 template <typename ClientTokenT = Aws::String>
62 SetClientToken(std::forward<ClientTokenT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 bool m_returnValue{false};
85
86 Aws::String m_clientToken;
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_returnValueHasBeenSet = false;
91 bool m_clientTokenHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace RAM
97} // namespace Aws
DisassociateResourceSharePermissionResult & WithReturnValue(bool value)
AWS_RAM_API DisassociateResourceSharePermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateResourceSharePermissionResult & WithRequestId(RequestIdT &&value)
AWS_RAM_API DisassociateResourceSharePermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateResourceSharePermissionResult & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue