AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelayAuthentication.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/NoAuthentication.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
36 {
37 public:
38 AWS_MAILMANAGER_API RelayAuthentication();
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 NoAuthentication& GetNoAuthentication() const{ return m_noAuthentication; }
50 inline bool NoAuthenticationHasBeenSet() const { return m_noAuthenticationHasBeenSet; }
51 inline void SetNoAuthentication(const NoAuthentication& value) { m_noAuthenticationHasBeenSet = true; m_noAuthentication = value; }
52 inline void SetNoAuthentication(NoAuthentication&& value) { m_noAuthenticationHasBeenSet = true; m_noAuthentication = std::move(value); }
54 inline RelayAuthentication& WithNoAuthentication(NoAuthentication&& value) { SetNoAuthentication(std::move(value)); return *this;}
56
58
62 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
63 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
64 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
65 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
66 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
67 inline RelayAuthentication& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
68 inline RelayAuthentication& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
69 inline RelayAuthentication& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
71 private:
72
73 NoAuthentication m_noAuthentication;
74 bool m_noAuthenticationHasBeenSet = false;
75
76 Aws::String m_secretArn;
77 bool m_secretArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace MailManager
82} // namespace Aws
RelayAuthentication & WithSecretArn(const char *value)
RelayAuthentication & WithSecretArn(Aws::String &&value)
void SetNoAuthentication(NoAuthentication &&value)
void SetNoAuthentication(const NoAuthentication &value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RelayAuthentication & WithNoAuthentication(const NoAuthentication &value)
RelayAuthentication & WithSecretArn(const Aws::String &value)
const NoAuthentication & GetNoAuthentication() const
RelayAuthentication & WithNoAuthentication(NoAuthentication &&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