AWS SDK for C++

AWS SDK for C++ Version 1.11.865

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/WalletPasswordSource.h>
12#include <aws/odb/model/WalletPasswordSourceConfigurationInput.h>
13#include <aws/odb/model/WalletType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace odb {
19namespace Model {
20
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 "CreateAutonomousDatabaseWallet"; }
32
33 AWS_ODB_API Aws::String SerializePayload() const override;
34
36
38
41 inline const Aws::String& GetAutonomousDatabaseId() const { return m_autonomousDatabaseId; }
42 inline bool AutonomousDatabaseIdHasBeenSet() const { return m_autonomousDatabaseIdHasBeenSet; }
43 template <typename AutonomousDatabaseIdT = Aws::String>
44 void SetAutonomousDatabaseId(AutonomousDatabaseIdT&& value) {
45 m_autonomousDatabaseIdHasBeenSet = true;
46 m_autonomousDatabaseId = std::forward<AutonomousDatabaseIdT>(value);
47 }
48 template <typename AutonomousDatabaseIdT = Aws::String>
50 SetAutonomousDatabaseId(std::forward<AutonomousDatabaseIdT>(value));
51 return *this;
52 }
54
56
60 inline WalletType GetWalletType() const { return m_walletType; }
61 inline bool WalletTypeHasBeenSet() const { return m_walletTypeHasBeenSet; }
62 inline void SetWalletType(WalletType value) {
63 m_walletTypeHasBeenSet = true;
64 m_walletType = value;
65 }
67 SetWalletType(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetPassword() const { return m_password; }
77 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
78 template <typename PasswordT = Aws::String>
79 void SetPassword(PasswordT&& value) {
80 m_passwordHasBeenSet = true;
81 m_password = std::forward<PasswordT>(value);
82 }
83 template <typename PasswordT = Aws::String>
85 SetPassword(std::forward<PasswordT>(value));
86 return *this;
87 }
89
91
96 inline WalletPasswordSource GetPasswordSource() const { return m_passwordSource; }
97 inline bool PasswordSourceHasBeenSet() const { return m_passwordSourceHasBeenSet; }
99 m_passwordSourceHasBeenSet = true;
100 m_passwordSource = value;
101 }
103 SetPasswordSource(value);
104 return *this;
105 }
107
109
113 inline const WalletPasswordSourceConfigurationInput& GetPasswordSourceConfiguration() const { return m_passwordSourceConfiguration; }
114 inline bool PasswordSourceConfigurationHasBeenSet() const { return m_passwordSourceConfigurationHasBeenSet; }
115 template <typename PasswordSourceConfigurationT = WalletPasswordSourceConfigurationInput>
116 void SetPasswordSourceConfiguration(PasswordSourceConfigurationT&& value) {
117 m_passwordSourceConfigurationHasBeenSet = true;
118 m_passwordSourceConfiguration = std::forward<PasswordSourceConfigurationT>(value);
119 }
120 template <typename PasswordSourceConfigurationT = WalletPasswordSourceConfigurationInput>
122 SetPasswordSourceConfiguration(std::forward<PasswordSourceConfigurationT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetClientToken() const { return m_clientToken; }
132 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
133 template <typename ClientTokenT = Aws::String>
134 void SetClientToken(ClientTokenT&& value) {
135 m_clientTokenHasBeenSet = true;
136 m_clientToken = std::forward<ClientTokenT>(value);
137 }
138 template <typename ClientTokenT = Aws::String>
140 SetClientToken(std::forward<ClientTokenT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_autonomousDatabaseId;
146
147 WalletType m_walletType{WalletType::NOT_SET};
148
149 Aws::String m_password;
150
152
153 WalletPasswordSourceConfigurationInput m_passwordSourceConfiguration;
154
156 bool m_autonomousDatabaseIdHasBeenSet = false;
157 bool m_walletTypeHasBeenSet = false;
158 bool m_passwordHasBeenSet = false;
159 bool m_passwordSourceHasBeenSet = false;
160 bool m_passwordSourceConfigurationHasBeenSet = false;
161 bool m_clientTokenHasBeenSet = true;
162};
163
164} // namespace Model
165} // namespace odb
166} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_ODB_API Aws::String SerializePayload() const override
CreateAutonomousDatabaseWalletRequest & WithPasswordSource(WalletPasswordSource value)
const WalletPasswordSourceConfigurationInput & GetPasswordSourceConfiguration() const
CreateAutonomousDatabaseWalletRequest & WithPasswordSourceConfiguration(PasswordSourceConfigurationT &&value)
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