AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AuthenticationConfigurationPatch.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/BasicAuthenticationCredentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API AuthenticationConfigurationPatch() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const BasicAuthenticationCredentials& GetBasicAuthenticationCredentials() const { return m_basicAuthenticationCredentials; }
47 inline bool BasicAuthenticationCredentialsHasBeenSet() const { return m_basicAuthenticationCredentialsHasBeenSet; }
48 template<typename BasicAuthenticationCredentialsT = BasicAuthenticationCredentials>
49 void SetBasicAuthenticationCredentials(BasicAuthenticationCredentialsT&& value) { m_basicAuthenticationCredentialsHasBeenSet = true; m_basicAuthenticationCredentials = std::forward<BasicAuthenticationCredentialsT>(value); }
50 template<typename BasicAuthenticationCredentialsT = BasicAuthenticationCredentials>
51 AuthenticationConfigurationPatch& WithBasicAuthenticationCredentials(BasicAuthenticationCredentialsT&& value) { SetBasicAuthenticationCredentials(std::forward<BasicAuthenticationCredentialsT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
59 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
60 template<typename SecretArnT = Aws::String>
61 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
62 template<typename SecretArnT = Aws::String>
63 AuthenticationConfigurationPatch& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
65 private:
66
67 BasicAuthenticationCredentials m_basicAuthenticationCredentials;
68 bool m_basicAuthenticationCredentialsHasBeenSet = false;
69
70 Aws::String m_secretArn;
71 bool m_secretArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DataZone
76} // 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