AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SupportedEmailDomainsStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/repostspace/Repostspace_EXPORTS.h>
10#include <aws/repostspace/model/FeatureEnableStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace repostspace {
22namespace Model {
23
30 public:
31 AWS_REPOSTSPACE_API SupportedEmailDomainsStatus() = default;
34 AWS_REPOSTSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline FeatureEnableStatus GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(FeatureEnableStatus value) {
43 m_enabledHasBeenSet = true;
44 m_enabled = value;
45 }
47 SetEnabled(value);
48 return *this;
49 }
51
53
56 inline const Aws::Vector<Aws::String>& GetAllowedDomains() const { return m_allowedDomains; }
57 inline bool AllowedDomainsHasBeenSet() const { return m_allowedDomainsHasBeenSet; }
58 template <typename AllowedDomainsT = Aws::Vector<Aws::String>>
59 void SetAllowedDomains(AllowedDomainsT&& value) {
60 m_allowedDomainsHasBeenSet = true;
61 m_allowedDomains = std::forward<AllowedDomainsT>(value);
62 }
63 template <typename AllowedDomainsT = Aws::Vector<Aws::String>>
65 SetAllowedDomains(std::forward<AllowedDomainsT>(value));
66 return *this;
67 }
68 template <typename AllowedDomainsT = Aws::String>
70 m_allowedDomainsHasBeenSet = true;
71 m_allowedDomains.emplace_back(std::forward<AllowedDomainsT>(value));
72 return *this;
73 }
75 private:
77
78 Aws::Vector<Aws::String> m_allowedDomains;
79 bool m_enabledHasBeenSet = false;
80 bool m_allowedDomainsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace repostspace
85} // namespace Aws
AWS_REPOSTSPACE_API SupportedEmailDomainsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
SupportedEmailDomainsStatus & AddAllowedDomains(AllowedDomainsT &&value)
AWS_REPOSTSPACE_API SupportedEmailDomainsStatus()=default
AWS_REPOSTSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
SupportedEmailDomainsStatus & WithAllowedDomains(AllowedDomainsT &&value)
SupportedEmailDomainsStatus & WithEnabled(FeatureEnableStatus value)
AWS_REPOSTSPACE_API SupportedEmailDomainsStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAllowedDomains() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue