AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RejectResourceShareInvitationResult.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#include <aws/ram/model/ResourceShareInvitation.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace RAM {
24namespace Model {
26 public:
27 AWS_RAM_API RejectResourceShareInvitationResult() = default;
30
32
35 inline const ResourceShareInvitation& GetResourceShareInvitation() const { return m_resourceShareInvitation; }
36 template <typename ResourceShareInvitationT = ResourceShareInvitation>
37 void SetResourceShareInvitation(ResourceShareInvitationT&& value) {
38 m_resourceShareInvitationHasBeenSet = true;
39 m_resourceShareInvitation = std::forward<ResourceShareInvitationT>(value);
40 }
41 template <typename ResourceShareInvitationT = ResourceShareInvitation>
43 SetResourceShareInvitation(std::forward<ResourceShareInvitationT>(value));
44 return *this;
45 }
47
49
56 inline const Aws::String& GetClientToken() const { return m_clientToken; }
57 template <typename ClientTokenT = Aws::String>
58 void SetClientToken(ClientTokenT&& value) {
59 m_clientTokenHasBeenSet = true;
60 m_clientToken = std::forward<ClientTokenT>(value);
61 }
62 template <typename ClientTokenT = Aws::String>
64 SetClientToken(std::forward<ClientTokenT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
84
85 private:
86 ResourceShareInvitation m_resourceShareInvitation;
87
88 Aws::String m_clientToken;
89
90 Aws::String m_requestId;
91 Aws::Http::HttpResponseCode m_HttpResponseCode;
92 bool m_resourceShareInvitationHasBeenSet = false;
93 bool m_clientTokenHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace RAM
99} // namespace Aws
AWS_RAM_API RejectResourceShareInvitationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectResourceShareInvitationResult & WithClientToken(ClientTokenT &&value)
RejectResourceShareInvitationResult & WithResourceShareInvitation(ResourceShareInvitationT &&value)
AWS_RAM_API RejectResourceShareInvitationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectResourceShareInvitationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue