AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePermissionVersionResult.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/model/ResourceSharePermissionDetail.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
38 inline const ResourceSharePermissionDetail& GetPermission() const{ return m_permission; }
39 inline void SetPermission(const ResourceSharePermissionDetail& value) { m_permission = value; }
40 inline void SetPermission(ResourceSharePermissionDetail&& value) { m_permission = std::move(value); }
44
46
53 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
54 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
55 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
56 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
57 inline CreatePermissionVersionResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline CreatePermissionVersionResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline CreatePermissionVersionResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline CreatePermissionVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline CreatePermissionVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline CreatePermissionVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
75
76 Aws::String m_clientToken;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace RAM
83} // namespace Aws
CreatePermissionVersionResult & WithClientToken(const char *value)
CreatePermissionVersionResult & WithClientToken(const Aws::String &value)
CreatePermissionVersionResult & WithRequestId(const Aws::String &value)
CreatePermissionVersionResult & WithPermission(ResourceSharePermissionDetail &&value)
CreatePermissionVersionResult & WithPermission(const ResourceSharePermissionDetail &value)
const ResourceSharePermissionDetail & GetPermission() const
void SetPermission(const ResourceSharePermissionDetail &value)
void SetPermission(ResourceSharePermissionDetail &&value)
CreatePermissionVersionResult & WithClientToken(Aws::String &&value)
CreatePermissionVersionResult & WithRequestId(const char *value)
AWS_RAM_API CreatePermissionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RAM_API CreatePermissionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePermissionVersionResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue