AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
CreateAutonomousDatabaseWalletRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/odb/OdbRequest.h>
10#include <aws/odb/Odb_EXPORTS.h>
11#include <aws/odb/model/WalletType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace odb {
17namespace Model {
18
22 public:
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateAutonomousDatabaseWallet"; }
30
31 AWS_ODB_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetAutonomousDatabaseId() const { return m_autonomousDatabaseId; }
40 inline bool AutonomousDatabaseIdHasBeenSet() const { return m_autonomousDatabaseIdHasBeenSet; }
41 template <typename AutonomousDatabaseIdT = Aws::String>
42 void SetAutonomousDatabaseId(AutonomousDatabaseIdT&& value) {
43 m_autonomousDatabaseIdHasBeenSet = true;
44 m_autonomousDatabaseId = std::forward<AutonomousDatabaseIdT>(value);
45 }
46 template <typename AutonomousDatabaseIdT = Aws::String>
48 SetAutonomousDatabaseId(std::forward<AutonomousDatabaseIdT>(value));
49 return *this;
50 }
52
54
58 inline WalletType GetWalletType() const { return m_walletType; }
59 inline bool WalletTypeHasBeenSet() const { return m_walletTypeHasBeenSet; }
60 inline void SetWalletType(WalletType value) {
61 m_walletTypeHasBeenSet = true;
62 m_walletType = value;
63 }
65 SetWalletType(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetPassword() const { return m_password; }
75 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
76 template <typename PasswordT = Aws::String>
77 void SetPassword(PasswordT&& value) {
78 m_passwordHasBeenSet = true;
79 m_password = std::forward<PasswordT>(value);
80 }
81 template <typename PasswordT = Aws::String>
83 SetPassword(std::forward<PasswordT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetClientToken() const { return m_clientToken; }
93 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
94 template <typename ClientTokenT = Aws::String>
95 void SetClientToken(ClientTokenT&& value) {
96 m_clientTokenHasBeenSet = true;
97 m_clientToken = std::forward<ClientTokenT>(value);
98 }
99 template <typename ClientTokenT = Aws::String>
101 SetClientToken(std::forward<ClientTokenT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_autonomousDatabaseId;
107
108 WalletType m_walletType{WalletType::NOT_SET};
109
110 Aws::String m_password;
111
113 bool m_autonomousDatabaseIdHasBeenSet = false;
114 bool m_walletTypeHasBeenSet = false;
115 bool m_passwordHasBeenSet = false;
116 bool m_clientTokenHasBeenSet = true;
117};
118
119} // namespace Model
120} // namespace odb
121} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_ODB_API Aws::String SerializePayload() const override
CreateAutonomousDatabaseWalletRequest & WithClientToken(ClientTokenT &&value)
CreateAutonomousDatabaseWalletRequest & WithPassword(PasswordT &&value)
CreateAutonomousDatabaseWalletRequest & WithWalletType(WalletType value)
CreateAutonomousDatabaseWalletRequest & WithAutonomousDatabaseId(AutonomousDatabaseIdT &&value)
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String