AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLedgerPermissionsModeRequest.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/QLDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qldb/model/PermissionsMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QLDB
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateLedgerPermissionsMode"; }
32
33 AWS_QLDB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetName() const{ return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
43 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
44 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
45 inline UpdateLedgerPermissionsModeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline UpdateLedgerPermissionsModeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline UpdateLedgerPermissionsModeRequest& WithName(const char* value) { SetName(value); return *this;}
49
51
72 inline const PermissionsMode& GetPermissionsMode() const{ return m_permissionsMode; }
73 inline bool PermissionsModeHasBeenSet() const { return m_permissionsModeHasBeenSet; }
74 inline void SetPermissionsMode(const PermissionsMode& value) { m_permissionsModeHasBeenSet = true; m_permissionsMode = value; }
75 inline void SetPermissionsMode(PermissionsMode&& value) { m_permissionsModeHasBeenSet = true; m_permissionsMode = std::move(value); }
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 PermissionsMode m_permissionsMode;
85 bool m_permissionsModeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace QLDB
90} // namespace Aws
UpdateLedgerPermissionsModeRequest & WithName(const char *value)
UpdateLedgerPermissionsModeRequest & WithPermissionsMode(const PermissionsMode &value)
UpdateLedgerPermissionsModeRequest & WithName(Aws::String &&value)
AWS_QLDB_API Aws::String SerializePayload() const override
UpdateLedgerPermissionsModeRequest & WithName(const Aws::String &value)
UpdateLedgerPermissionsModeRequest & WithPermissionsMode(PermissionsMode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String