AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IngressPointAuthConfiguration.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/IngressPointPasswordConfiguration.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 MailManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAILMANAGER_API IngressPointAuthConfiguration() = default;
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const IngressPointPasswordConfiguration& GetIngressPointPasswordConfiguration() const { return m_ingressPointPasswordConfiguration; }
48 inline bool IngressPointPasswordConfigurationHasBeenSet() const { return m_ingressPointPasswordConfigurationHasBeenSet; }
49 template<typename IngressPointPasswordConfigurationT = IngressPointPasswordConfiguration>
50 void SetIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT&& value) { m_ingressPointPasswordConfigurationHasBeenSet = true; m_ingressPointPasswordConfiguration = std::forward<IngressPointPasswordConfigurationT>(value); }
51 template<typename IngressPointPasswordConfigurationT = IngressPointPasswordConfiguration>
52 IngressPointAuthConfiguration& WithIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT&& value) { SetIngressPointPasswordConfiguration(std::forward<IngressPointPasswordConfigurationT>(value)); return *this;}
54
56
60 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
61 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
62 template<typename SecretArnT = Aws::String>
63 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
64 template<typename SecretArnT = Aws::String>
65 IngressPointAuthConfiguration& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
67 private:
68
69 IngressPointPasswordConfiguration m_ingressPointPasswordConfiguration;
70 bool m_ingressPointPasswordConfigurationHasBeenSet = false;
71
72 Aws::String m_secretArn;
73 bool m_secretArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MailManager
78} // namespace Aws
AWS_MAILMANAGER_API IngressPointAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API IngressPointAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAILMANAGER_API IngressPointAuthConfiguration()=default
IngressPointAuthConfiguration & WithSecretArn(SecretArnT &&value)
IngressPointAuthConfiguration & WithIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT &&value)
const IngressPointPasswordConfiguration & GetIngressPointPasswordConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue