AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DkimAttributes.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/model/DkimStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PinpointEmail
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINTEMAIL_API DkimAttributes();
38 AWS_PINPOINTEMAIL_API DkimAttributes(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINTEMAIL_API DkimAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline bool GetSigningEnabled() const{ return m_signingEnabled; }
51 inline bool SigningEnabledHasBeenSet() const { return m_signingEnabledHasBeenSet; }
52 inline void SetSigningEnabled(bool value) { m_signingEnabledHasBeenSet = true; m_signingEnabled = value; }
53 inline DkimAttributes& WithSigningEnabled(bool value) { SetSigningEnabled(value); return *this;}
55
57
73 inline const DkimStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const DkimStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(DkimStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline DkimAttributes& WithStatus(const DkimStatus& value) { SetStatus(value); return *this;}
78 inline DkimAttributes& WithStatus(DkimStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
89 inline const Aws::Vector<Aws::String>& GetTokens() const{ return m_tokens; }
90 inline bool TokensHasBeenSet() const { return m_tokensHasBeenSet; }
91 inline void SetTokens(const Aws::Vector<Aws::String>& value) { m_tokensHasBeenSet = true; m_tokens = value; }
92 inline void SetTokens(Aws::Vector<Aws::String>&& value) { m_tokensHasBeenSet = true; m_tokens = std::move(value); }
93 inline DkimAttributes& WithTokens(const Aws::Vector<Aws::String>& value) { SetTokens(value); return *this;}
94 inline DkimAttributes& WithTokens(Aws::Vector<Aws::String>&& value) { SetTokens(std::move(value)); return *this;}
95 inline DkimAttributes& AddTokens(const Aws::String& value) { m_tokensHasBeenSet = true; m_tokens.push_back(value); return *this; }
96 inline DkimAttributes& AddTokens(Aws::String&& value) { m_tokensHasBeenSet = true; m_tokens.push_back(std::move(value)); return *this; }
97 inline DkimAttributes& AddTokens(const char* value) { m_tokensHasBeenSet = true; m_tokens.push_back(value); return *this; }
99 private:
100
101 bool m_signingEnabled;
102 bool m_signingEnabledHasBeenSet = false;
103
104 DkimStatus m_status;
105 bool m_statusHasBeenSet = false;
106
108 bool m_tokensHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace PinpointEmail
113} // namespace Aws
AWS_PINPOINTEMAIL_API DkimAttributes()
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINTEMAIL_API DkimAttributes(Aws::Utils::Json::JsonView jsonValue)
DkimAttributes & WithTokens(const Aws::Vector< Aws::String > &value)
DkimAttributes & AddTokens(Aws::String &&value)
DkimAttributes & AddTokens(const Aws::String &value)
void SetStatus(const DkimStatus &value)
DkimAttributes & AddTokens(const char *value)
DkimAttributes & WithStatus(DkimStatus &&value)
AWS_PINPOINTEMAIL_API DkimAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DkimAttributes & WithTokens(Aws::Vector< Aws::String > &&value)
DkimAttributes & WithStatus(const DkimStatus &value)
DkimAttributes & WithSigningEnabled(bool value)
void SetTokens(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTokens() const
void SetTokens(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue