AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ClientSecretInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
9#include <aws/credentialbroker-control/model/SecretReference.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CredentialBrokerControl {
21namespace Model {
22
32 public:
33 AWS_CREDENTIALBROKERCONTROL_API ClientSecretInput() = default;
34 AWS_CREDENTIALBROKERCONTROL_API ClientSecretInput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CREDENTIALBROKERCONTROL_API ClientSecretInput& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
44 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
45 template <typename ClientSecretT = Aws::String>
46 void SetClientSecret(ClientSecretT&& value) {
47 m_clientSecretHasBeenSet = true;
48 m_clientSecret = std::forward<ClientSecretT>(value);
49 }
50 template <typename ClientSecretT = Aws::String>
51 ClientSecretInput& WithClientSecret(ClientSecretT&& value) {
52 SetClientSecret(std::forward<ClientSecretT>(value));
53 return *this;
54 }
56
58
61 inline const SecretReference& GetClientSecretReference() const { return m_clientSecretReference; }
62 inline bool ClientSecretReferenceHasBeenSet() const { return m_clientSecretReferenceHasBeenSet; }
63 template <typename ClientSecretReferenceT = SecretReference>
64 void SetClientSecretReference(ClientSecretReferenceT&& value) {
65 m_clientSecretReferenceHasBeenSet = true;
66 m_clientSecretReference = std::forward<ClientSecretReferenceT>(value);
67 }
68 template <typename ClientSecretReferenceT = SecretReference>
69 ClientSecretInput& WithClientSecretReference(ClientSecretReferenceT&& value) {
70 SetClientSecretReference(std::forward<ClientSecretReferenceT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_clientSecret;
76
77 SecretReference m_clientSecretReference;
78 bool m_clientSecretHasBeenSet = false;
79 bool m_clientSecretReferenceHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace CredentialBrokerControl
84} // namespace Aws
void SetClientSecretReference(ClientSecretReferenceT &&value)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
ClientSecretInput & WithClientSecretReference(ClientSecretReferenceT &&value)
AWS_CREDENTIALBROKERCONTROL_API ClientSecretInput(Aws::Utils::Json::JsonView jsonValue)
ClientSecretInput & WithClientSecret(ClientSecretT &&value)
AWS_CREDENTIALBROKERCONTROL_API ClientSecretInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKERCONTROL_API ClientSecretInput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue