AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePermissionVersionResult.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/PermissionStatus.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 bool GetReturnValue() const{ return m_returnValue; }
41 inline void SetReturnValue(bool value) { m_returnValue = value; }
42 inline DeletePermissionVersionResult& WithReturnValue(bool value) { SetReturnValue(value); return *this;}
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 DeletePermissionVersionResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline DeletePermissionVersionResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline DeletePermissionVersionResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
61
63
67 inline const PermissionStatus& GetPermissionStatus() const{ return m_permissionStatus; }
68 inline void SetPermissionStatus(const PermissionStatus& value) { m_permissionStatus = value; }
69 inline void SetPermissionStatus(PermissionStatus&& value) { m_permissionStatus = std::move(value); }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline DeletePermissionVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DeletePermissionVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DeletePermissionVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 bool m_returnValue;
87
88 Aws::String m_clientToken;
89
90 PermissionStatus m_permissionStatus;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace RAM
97} // namespace Aws
DeletePermissionVersionResult & WithClientToken(const char *value)
AWS_RAM_API DeletePermissionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePermissionVersionResult & WithClientToken(const Aws::String &value)
DeletePermissionVersionResult & WithClientToken(Aws::String &&value)
DeletePermissionVersionResult & WithPermissionStatus(PermissionStatus &&value)
DeletePermissionVersionResult & WithReturnValue(bool value)
DeletePermissionVersionResult & WithRequestId(const char *value)
DeletePermissionVersionResult & WithRequestId(const Aws::String &value)
AWS_RAM_API DeletePermissionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePermissionVersionResult & WithRequestId(Aws::String &&value)
DeletePermissionVersionResult & WithPermissionStatus(const PermissionStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue