AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ApiKeySecretOutput.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/SecretSource.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
31 public:
32 AWS_CREDENTIALBROKERCONTROL_API ApiKeySecretOutput() = default;
33 AWS_CREDENTIALBROKERCONTROL_API ApiKeySecretOutput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CREDENTIALBROKERCONTROL_API ApiKeySecretOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetApiKeySecretArn() const { return m_apiKeySecretArn; }
44 inline bool ApiKeySecretArnHasBeenSet() const { return m_apiKeySecretArnHasBeenSet; }
45 template <typename ApiKeySecretArnT = Aws::String>
46 void SetApiKeySecretArn(ApiKeySecretArnT&& value) {
47 m_apiKeySecretArnHasBeenSet = true;
48 m_apiKeySecretArn = std::forward<ApiKeySecretArnT>(value);
49 }
50 template <typename ApiKeySecretArnT = Aws::String>
51 ApiKeySecretOutput& WithApiKeySecretArn(ApiKeySecretArnT&& value) {
52 SetApiKeySecretArn(std::forward<ApiKeySecretArnT>(value));
53 return *this;
54 }
56
58
63 inline SecretSource GetApiKeySecretSource() const { return m_apiKeySecretSource; }
64 inline bool ApiKeySecretSourceHasBeenSet() const { return m_apiKeySecretSourceHasBeenSet; }
66 m_apiKeySecretSourceHasBeenSet = true;
67 m_apiKeySecretSource = value;
68 }
71 return *this;
72 }
74
76
80 inline const Aws::String& GetApiKeySecretJsonKey() const { return m_apiKeySecretJsonKey; }
81 inline bool ApiKeySecretJsonKeyHasBeenSet() const { return m_apiKeySecretJsonKeyHasBeenSet; }
82 template <typename ApiKeySecretJsonKeyT = Aws::String>
83 void SetApiKeySecretJsonKey(ApiKeySecretJsonKeyT&& value) {
84 m_apiKeySecretJsonKeyHasBeenSet = true;
85 m_apiKeySecretJsonKey = std::forward<ApiKeySecretJsonKeyT>(value);
86 }
87 template <typename ApiKeySecretJsonKeyT = Aws::String>
88 ApiKeySecretOutput& WithApiKeySecretJsonKey(ApiKeySecretJsonKeyT&& value) {
89 SetApiKeySecretJsonKey(std::forward<ApiKeySecretJsonKeyT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_apiKeySecretArn;
95
96 SecretSource m_apiKeySecretSource{SecretSource::NOT_SET};
97
98 Aws::String m_apiKeySecretJsonKey;
99 bool m_apiKeySecretArnHasBeenSet = false;
100 bool m_apiKeySecretSourceHasBeenSet = false;
101 bool m_apiKeySecretJsonKeyHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace CredentialBrokerControl
106} // namespace Aws
AWS_CREDENTIALBROKERCONTROL_API ApiKeySecretOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CREDENTIALBROKERCONTROL_API ApiKeySecretOutput()=default
ApiKeySecretOutput & WithApiKeySecretArn(ApiKeySecretArnT &&value)
void SetApiKeySecretJsonKey(ApiKeySecretJsonKeyT &&value)
AWS_CREDENTIALBROKERCONTROL_API ApiKeySecretOutput(Aws::Utils::Json::JsonView jsonValue)
ApiKeySecretOutput & WithApiKeySecretSource(SecretSource value)
ApiKeySecretOutput & WithApiKeySecretJsonKey(ApiKeySecretJsonKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue