AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
IngressPointAuthConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9#include <aws/mailmanager/model/IngressPointPasswordConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MailManager {
21namespace Model {
22
30 public:
31 AWS_MAILMANAGER_API IngressPointAuthConfiguration() = default;
34 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 return m_ingressPointPasswordConfiguration;
43 }
44 inline bool IngressPointPasswordConfigurationHasBeenSet() const { return m_ingressPointPasswordConfigurationHasBeenSet; }
45 template <typename IngressPointPasswordConfigurationT = IngressPointPasswordConfiguration>
46 void SetIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT&& value) {
47 m_ingressPointPasswordConfigurationHasBeenSet = true;
48 m_ingressPointPasswordConfiguration = std::forward<IngressPointPasswordConfigurationT>(value);
49 }
50 template <typename IngressPointPasswordConfigurationT = IngressPointPasswordConfiguration>
51 IngressPointAuthConfiguration& WithIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT&& value) {
52 SetIngressPointPasswordConfiguration(std::forward<IngressPointPasswordConfigurationT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
63 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
64 template <typename SecretArnT = Aws::String>
65 void SetSecretArn(SecretArnT&& value) {
66 m_secretArnHasBeenSet = true;
67 m_secretArn = std::forward<SecretArnT>(value);
68 }
69 template <typename SecretArnT = Aws::String>
71 SetSecretArn(std::forward<SecretArnT>(value));
72 return *this;
73 }
75 private:
76 IngressPointPasswordConfiguration m_ingressPointPasswordConfiguration;
77
78 Aws::String m_secretArn;
79 bool m_ingressPointPasswordConfigurationHasBeenSet = false;
80 bool m_secretArnHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace MailManager
85} // 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