AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsRdsDbDomainMembership.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsRdsDbDomainMembership() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDomain() const { return m_domain; }
40 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
41 template <typename DomainT = Aws::String>
42 void SetDomain(DomainT&& value) {
43 m_domainHasBeenSet = true;
44 m_domain = std::forward<DomainT>(value);
45 }
46 template <typename DomainT = Aws::String>
48 SetDomain(std::forward<DomainT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 template <typename StatusT = Aws::String>
60 void SetStatus(StatusT&& value) {
61 m_statusHasBeenSet = true;
62 m_status = std::forward<StatusT>(value);
63 }
64 template <typename StatusT = Aws::String>
66 SetStatus(std::forward<StatusT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetFqdn() const { return m_fqdn; }
76 inline bool FqdnHasBeenSet() const { return m_fqdnHasBeenSet; }
77 template <typename FqdnT = Aws::String>
78 void SetFqdn(FqdnT&& value) {
79 m_fqdnHasBeenSet = true;
80 m_fqdn = std::forward<FqdnT>(value);
81 }
82 template <typename FqdnT = Aws::String>
84 SetFqdn(std::forward<FqdnT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetIamRoleName() const { return m_iamRoleName; }
95 inline bool IamRoleNameHasBeenSet() const { return m_iamRoleNameHasBeenSet; }
96 template <typename IamRoleNameT = Aws::String>
97 void SetIamRoleName(IamRoleNameT&& value) {
98 m_iamRoleNameHasBeenSet = true;
99 m_iamRoleName = std::forward<IamRoleNameT>(value);
100 }
101 template <typename IamRoleNameT = Aws::String>
103 SetIamRoleName(std::forward<IamRoleNameT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_domain;
109
110 Aws::String m_status;
111
112 Aws::String m_fqdn;
113
114 Aws::String m_iamRoleName;
115 bool m_domainHasBeenSet = false;
116 bool m_statusHasBeenSet = false;
117 bool m_fqdnHasBeenSet = false;
118 bool m_iamRoleNameHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SecurityHub
123} // namespace Aws
AwsRdsDbDomainMembership & WithDomain(DomainT &&value)
AwsRdsDbDomainMembership & WithFqdn(FqdnT &&value)
AWS_SECURITYHUB_API AwsRdsDbDomainMembership(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsRdsDbDomainMembership()=default
AwsRdsDbDomainMembership & WithIamRoleName(IamRoleNameT &&value)
AwsRdsDbDomainMembership & WithStatus(StatusT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRdsDbDomainMembership & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue