AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePermissionResult.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 DeletePermissionResult& 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 DeletePermissionResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline DeletePermissionResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline DeletePermissionResult& 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); }
71 inline DeletePermissionResult& WithPermissionStatus(PermissionStatus&& value) { SetPermissionStatus(std::move(value)); return *this;}
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 DeletePermissionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DeletePermissionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DeletePermissionResult& 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
DeletePermissionResult & WithRequestId(const char *value)
AWS_RAM_API DeletePermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
AWS_RAM_API DeletePermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePermissionResult & WithRequestId(Aws::String &&value)
DeletePermissionResult & WithClientToken(const Aws::String &value)
DeletePermissionResult & WithReturnValue(bool value)
void SetClientToken(const Aws::String &value)
DeletePermissionResult & WithClientToken(Aws::String &&value)
DeletePermissionResult & WithPermissionStatus(const PermissionStatus &value)
void SetPermissionStatus(PermissionStatus &&value)
DeletePermissionResult & WithPermissionStatus(PermissionStatus &&value)
DeletePermissionResult & WithClientToken(const char *value)
const PermissionStatus & GetPermissionStatus() const
void SetPermissionStatus(const PermissionStatus &value)
DeletePermissionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue