AWS SDK for C++

AWS SDK for C++ Version 1.11.709

Loading...
Searching...
No Matches
AssociateResourceSharePermissionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ram/RAM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace RAM {
22namespace Model {
24 public:
28
30
34 inline bool GetReturnValue() const { return m_returnValue; }
35 inline void SetReturnValue(bool value) {
36 m_returnValueHasBeenSet = true;
37 m_returnValue = value;
38 }
40 SetReturnValue(value);
41 return *this;
42 }
44
46
53 inline const Aws::String& GetClientToken() const { return m_clientToken; }
54 template <typename ClientTokenT = Aws::String>
55 void SetClientToken(ClientTokenT&& value) {
56 m_clientTokenHasBeenSet = true;
57 m_clientToken = std::forward<ClientTokenT>(value);
58 }
59 template <typename ClientTokenT = Aws::String>
61 SetClientToken(std::forward<ClientTokenT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 private:
81 bool m_returnValue{false};
82
83 Aws::String m_clientToken;
84
85 Aws::String m_requestId;
86 bool m_returnValueHasBeenSet = false;
87 bool m_clientTokenHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace RAM
93} // namespace Aws
AWS_RAM_API AssociateResourceSharePermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateResourceSharePermissionResult & WithReturnValue(bool value)
AssociateResourceSharePermissionResult & WithRequestId(RequestIdT &&value)
AssociateResourceSharePermissionResult & WithClientToken(ClientTokenT &&value)
AWS_RAM_API AssociateResourceSharePermissionResult & 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