AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLedgerPermissionsModeResult.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qldb/model/PermissionsMode.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 QLDB
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetName() const{ return m_name; }
41 inline void SetName(const Aws::String& value) { m_name = value; }
42 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
43 inline void SetName(const char* value) { m_name.assign(value); }
44 inline UpdateLedgerPermissionsModeResult& WithName(const Aws::String& value) { SetName(value); return *this;}
45 inline UpdateLedgerPermissionsModeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
46 inline UpdateLedgerPermissionsModeResult& WithName(const char* value) { SetName(value); return *this;}
48
50
53 inline const Aws::String& GetArn() const{ return m_arn; }
54 inline void SetArn(const Aws::String& value) { m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arn.assign(value); }
57 inline UpdateLedgerPermissionsModeResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline UpdateLedgerPermissionsModeResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline UpdateLedgerPermissionsModeResult& WithArn(const char* value) { SetArn(value); return *this;}
61
63
66 inline const PermissionsMode& GetPermissionsMode() const{ return m_permissionsMode; }
67 inline void SetPermissionsMode(const PermissionsMode& value) { m_permissionsMode = value; }
68 inline void SetPermissionsMode(PermissionsMode&& value) { m_permissionsMode = std::move(value); }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline UpdateLedgerPermissionsModeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline UpdateLedgerPermissionsModeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline UpdateLedgerPermissionsModeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_name;
86
87 Aws::String m_arn;
88
89 PermissionsMode m_permissionsMode;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace QLDB
96} // namespace Aws
UpdateLedgerPermissionsModeResult & WithRequestId(const Aws::String &value)
UpdateLedgerPermissionsModeResult & WithRequestId(Aws::String &&value)
AWS_QLDB_API UpdateLedgerPermissionsModeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLedgerPermissionsModeResult & WithRequestId(const char *value)
UpdateLedgerPermissionsModeResult & WithName(const char *value)
UpdateLedgerPermissionsModeResult & WithArn(Aws::String &&value)
UpdateLedgerPermissionsModeResult & WithName(const Aws::String &value)
UpdateLedgerPermissionsModeResult & WithPermissionsMode(const PermissionsMode &value)
UpdateLedgerPermissionsModeResult & WithName(Aws::String &&value)
UpdateLedgerPermissionsModeResult & WithArn(const char *value)
UpdateLedgerPermissionsModeResult & WithPermissionsMode(PermissionsMode &&value)
UpdateLedgerPermissionsModeResult & WithArn(const Aws::String &value)
AWS_QLDB_API UpdateLedgerPermissionsModeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue