AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
WalletPasswordSourceSummary.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/odb/model/WalletPasswordSource.h>
9#include <aws/odb/model/WalletPasswordSourceConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
30 public:
31 AWS_ODB_API WalletPasswordSourceSummary() = default;
35
37
40 inline WalletPasswordSource GetPasswordSource() const { return m_passwordSource; }
41 inline bool PasswordSourceHasBeenSet() const { return m_passwordSourceHasBeenSet; }
43 m_passwordSourceHasBeenSet = true;
44 m_passwordSource = value;
45 }
47 SetPasswordSource(value);
48 return *this;
49 }
51
53
57 inline const WalletPasswordSourceConfiguration& GetPasswordSourceConfiguration() const { return m_passwordSourceConfiguration; }
58 inline bool PasswordSourceConfigurationHasBeenSet() const { return m_passwordSourceConfigurationHasBeenSet; }
59 template <typename PasswordSourceConfigurationT = WalletPasswordSourceConfiguration>
60 void SetPasswordSourceConfiguration(PasswordSourceConfigurationT&& value) {
61 m_passwordSourceConfigurationHasBeenSet = true;
62 m_passwordSourceConfiguration = std::forward<PasswordSourceConfigurationT>(value);
63 }
64 template <typename PasswordSourceConfigurationT = WalletPasswordSourceConfiguration>
65 WalletPasswordSourceSummary& WithPasswordSourceConfiguration(PasswordSourceConfigurationT&& value) {
66 SetPasswordSourceConfiguration(std::forward<PasswordSourceConfigurationT>(value));
67 return *this;
68 }
70 private:
72
73 WalletPasswordSourceConfiguration m_passwordSourceConfiguration;
74 bool m_passwordSourceHasBeenSet = false;
75 bool m_passwordSourceConfigurationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace odb
80} // namespace Aws
AWS_ODB_API WalletPasswordSourceSummary()=default
WalletPasswordSourceSummary & WithPasswordSource(WalletPasswordSource value)
AWS_ODB_API WalletPasswordSourceSummary(Aws::Utils::Json::JsonView jsonValue)
WalletPasswordSourceSummary & WithPasswordSourceConfiguration(PasswordSourceConfigurationT &&value)
const WalletPasswordSourceConfiguration & GetPasswordSourceConfiguration() const
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ODB_API WalletPasswordSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPasswordSourceConfiguration(PasswordSourceConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue