AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateResourceShareResult.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/model/ResourceShare.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 ResourceShare& GetResourceShare() const{ return m_resourceShare; }
41 inline void SetResourceShare(const ResourceShare& value) { m_resourceShare = value; }
42 inline void SetResourceShare(ResourceShare&& value) { m_resourceShare = std::move(value); }
43 inline CreateResourceShareResult& WithResourceShare(const ResourceShare& value) { SetResourceShare(value); return *this;}
44 inline CreateResourceShareResult& WithResourceShare(ResourceShare&& value) { SetResourceShare(std::move(value)); return *this;}
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); }
59 inline CreateResourceShareResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
60 inline CreateResourceShareResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
61 inline CreateResourceShareResult& 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 CreateResourceShareResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline CreateResourceShareResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline CreateResourceShareResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 ResourceShare m_resourceShare;
77
78 Aws::String m_clientToken;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace RAM
85} // namespace Aws
CreateResourceShareResult & WithClientToken(Aws::String &&value)
CreateResourceShareResult & WithClientToken(const Aws::String &value)
CreateResourceShareResult & WithClientToken(const char *value)
CreateResourceShareResult & WithResourceShare(const ResourceShare &value)
AWS_RAM_API CreateResourceShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResourceShare(const ResourceShare &value)
CreateResourceShareResult & WithRequestId(const Aws::String &value)
CreateResourceShareResult & WithResourceShare(ResourceShare &&value)
AWS_RAM_API CreateResourceShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateResourceShareResult & WithRequestId(const char *value)
CreateResourceShareResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue