AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectResourceShareInvitationResult.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/model/ResourceShareInvitation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace RAM
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const ResourceShareInvitation& GetResourceShareInvitation() const{ return m_resourceShareInvitation; }
41 inline void SetResourceShareInvitation(const ResourceShareInvitation& value) { m_resourceShareInvitation = value; }
42 inline void SetResourceShareInvitation(ResourceShareInvitation&& value) { m_resourceShareInvitation = std::move(value); }
46
48
55 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
56 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
57 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
58 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
60 inline RejectResourceShareInvitationResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
61 inline RejectResourceShareInvitationResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline RejectResourceShareInvitationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline RejectResourceShareInvitationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline RejectResourceShareInvitationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 ResourceShareInvitation m_resourceShareInvitation;
77
78 Aws::String m_clientToken;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace RAM
85} // namespace Aws
RejectResourceShareInvitationResult & WithClientToken(const char *value)
AWS_RAM_API RejectResourceShareInvitationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectResourceShareInvitationResult & WithRequestId(Aws::String &&value)
void SetResourceShareInvitation(const ResourceShareInvitation &value)
RejectResourceShareInvitationResult & WithClientToken(const Aws::String &value)
RejectResourceShareInvitationResult & WithRequestId(const char *value)
RejectResourceShareInvitationResult & WithClientToken(Aws::String &&value)
AWS_RAM_API RejectResourceShareInvitationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectResourceShareInvitationResult & WithResourceShareInvitation(ResourceShareInvitation &&value)
RejectResourceShareInvitationResult & WithResourceShareInvitation(const ResourceShareInvitation &value)
RejectResourceShareInvitationResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue