AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RelayAuthentication.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/NoAuthentication.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
36 {
37 public:
38 AWS_MAILMANAGER_API RelayAuthentication() = default;
39 AWS_MAILMANAGER_API RelayAuthentication(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
50 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
51 template<typename SecretArnT = Aws::String>
52 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
53 template<typename SecretArnT = Aws::String>
54 RelayAuthentication& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
56
58
62 inline const NoAuthentication& GetNoAuthentication() const { return m_noAuthentication; }
63 inline bool NoAuthenticationHasBeenSet() const { return m_noAuthenticationHasBeenSet; }
64 template<typename NoAuthenticationT = NoAuthentication>
65 void SetNoAuthentication(NoAuthenticationT&& value) { m_noAuthenticationHasBeenSet = true; m_noAuthentication = std::forward<NoAuthenticationT>(value); }
66 template<typename NoAuthenticationT = NoAuthentication>
67 RelayAuthentication& WithNoAuthentication(NoAuthenticationT&& value) { SetNoAuthentication(std::forward<NoAuthenticationT>(value)); return *this;}
69 private:
70
71 Aws::String m_secretArn;
72 bool m_secretArnHasBeenSet = false;
73
74 NoAuthentication m_noAuthentication;
75 bool m_noAuthenticationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace MailManager
80} // namespace Aws
void SetNoAuthentication(NoAuthenticationT &&value)
AWS_MAILMANAGER_API RelayAuthentication()=default
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const NoAuthentication & GetNoAuthentication() const
RelayAuthentication & WithNoAuthentication(NoAuthenticationT &&value)
RelayAuthentication & WithSecretArn(SecretArnT &&value)
AWS_MAILMANAGER_API RelayAuthentication(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API RelayAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue