AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DisassociateResourceSharePermissionResult.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace RAM
24{
25namespace Model
26{
28 {
29 public:
33
34
36
40 inline bool GetReturnValue() const { return m_returnValue; }
41 inline void SetReturnValue(bool value) { m_returnValueHasBeenSet = true; m_returnValue = value; }
44
46
53 inline const Aws::String& GetClientToken() const { return m_clientToken; }
54 template<typename ClientTokenT = Aws::String>
55 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
56 template<typename ClientTokenT = Aws::String>
57 DisassociateResourceSharePermissionResult& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 DisassociateResourceSharePermissionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 bool m_returnValue{false};
71 bool m_returnValueHasBeenSet = false;
72
73 Aws::String m_clientToken;
74 bool m_clientTokenHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace RAM
82} // 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