AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AuthenticationConfigurationPatch.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/BasicAuthenticationCredentials.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API AuthenticationConfigurationPatch() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
41 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
42 template <typename SecretArnT = Aws::String>
43 void SetSecretArn(SecretArnT&& value) {
44 m_secretArnHasBeenSet = true;
45 m_secretArn = std::forward<SecretArnT>(value);
46 }
47 template <typename SecretArnT = Aws::String>
49 SetSecretArn(std::forward<SecretArnT>(value));
50 return *this;
51 }
53
55
58 inline const BasicAuthenticationCredentials& GetBasicAuthenticationCredentials() const { return m_basicAuthenticationCredentials; }
59 inline bool BasicAuthenticationCredentialsHasBeenSet() const { return m_basicAuthenticationCredentialsHasBeenSet; }
60 template <typename BasicAuthenticationCredentialsT = BasicAuthenticationCredentials>
61 void SetBasicAuthenticationCredentials(BasicAuthenticationCredentialsT&& value) {
62 m_basicAuthenticationCredentialsHasBeenSet = true;
63 m_basicAuthenticationCredentials = std::forward<BasicAuthenticationCredentialsT>(value);
64 }
65 template <typename BasicAuthenticationCredentialsT = BasicAuthenticationCredentials>
66 AuthenticationConfigurationPatch& WithBasicAuthenticationCredentials(BasicAuthenticationCredentialsT&& value) {
67 SetBasicAuthenticationCredentials(std::forward<BasicAuthenticationCredentialsT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_secretArn;
73
74 BasicAuthenticationCredentials m_basicAuthenticationCredentials;
75 bool m_secretArnHasBeenSet = false;
76 bool m_basicAuthenticationCredentialsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DataZone
81} // namespace Aws
AuthenticationConfigurationPatch & WithBasicAuthenticationCredentials(BasicAuthenticationCredentialsT &&value)
AWS_DATAZONE_API AuthenticationConfigurationPatch(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfigurationPatch & WithSecretArn(SecretArnT &&value)
const BasicAuthenticationCredentials & GetBasicAuthenticationCredentials() const
AWS_DATAZONE_API AuthenticationConfigurationPatch()=default
void SetBasicAuthenticationCredentials(BasicAuthenticationCredentialsT &&value)
AWS_DATAZONE_API AuthenticationConfigurationPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue