AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRdsDbDomainMembership.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsRdsDbDomainMembership();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDomain() const{ return m_domain; }
46 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
47 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
48 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
49 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
50 inline AwsRdsDbDomainMembership& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
51 inline AwsRdsDbDomainMembership& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
52 inline AwsRdsDbDomainMembership& WithDomain(const char* value) { SetDomain(value); return *this;}
54
56
59 inline const Aws::String& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
64 inline AwsRdsDbDomainMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
65 inline AwsRdsDbDomainMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
66 inline AwsRdsDbDomainMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
68
70
73 inline const Aws::String& GetFqdn() const{ return m_fqdn; }
74 inline bool FqdnHasBeenSet() const { return m_fqdnHasBeenSet; }
75 inline void SetFqdn(const Aws::String& value) { m_fqdnHasBeenSet = true; m_fqdn = value; }
76 inline void SetFqdn(Aws::String&& value) { m_fqdnHasBeenSet = true; m_fqdn = std::move(value); }
77 inline void SetFqdn(const char* value) { m_fqdnHasBeenSet = true; m_fqdn.assign(value); }
78 inline AwsRdsDbDomainMembership& WithFqdn(const Aws::String& value) { SetFqdn(value); return *this;}
79 inline AwsRdsDbDomainMembership& WithFqdn(Aws::String&& value) { SetFqdn(std::move(value)); return *this;}
80 inline AwsRdsDbDomainMembership& WithFqdn(const char* value) { SetFqdn(value); return *this;}
82
84
88 inline const Aws::String& GetIamRoleName() const{ return m_iamRoleName; }
89 inline bool IamRoleNameHasBeenSet() const { return m_iamRoleNameHasBeenSet; }
90 inline void SetIamRoleName(const Aws::String& value) { m_iamRoleNameHasBeenSet = true; m_iamRoleName = value; }
91 inline void SetIamRoleName(Aws::String&& value) { m_iamRoleNameHasBeenSet = true; m_iamRoleName = std::move(value); }
92 inline void SetIamRoleName(const char* value) { m_iamRoleNameHasBeenSet = true; m_iamRoleName.assign(value); }
93 inline AwsRdsDbDomainMembership& WithIamRoleName(const Aws::String& value) { SetIamRoleName(value); return *this;}
94 inline AwsRdsDbDomainMembership& WithIamRoleName(Aws::String&& value) { SetIamRoleName(std::move(value)); return *this;}
95 inline AwsRdsDbDomainMembership& WithIamRoleName(const char* value) { SetIamRoleName(value); return *this;}
97 private:
98
99 Aws::String m_domain;
100 bool m_domainHasBeenSet = false;
101
102 Aws::String m_status;
103 bool m_statusHasBeenSet = false;
104
105 Aws::String m_fqdn;
106 bool m_fqdnHasBeenSet = false;
107
108 Aws::String m_iamRoleName;
109 bool m_iamRoleNameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SecurityHub
114} // namespace Aws
AwsRdsDbDomainMembership & WithIamRoleName(Aws::String &&value)
AwsRdsDbDomainMembership & WithIamRoleName(const Aws::String &value)
AwsRdsDbDomainMembership & WithDomain(Aws::String &&value)
AWS_SECURITYHUB_API AwsRdsDbDomainMembership(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbDomainMembership & WithStatus(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbDomainMembership & WithStatus(const char *value)
AwsRdsDbDomainMembership & WithDomain(const Aws::String &value)
AWS_SECURITYHUB_API AwsRdsDbDomainMembership & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbDomainMembership & WithFqdn(const char *value)
AwsRdsDbDomainMembership & WithIamRoleName(const char *value)
AwsRdsDbDomainMembership & WithFqdn(const Aws::String &value)
AwsRdsDbDomainMembership & WithFqdn(Aws::String &&value)
AwsRdsDbDomainMembership & WithDomain(const char *value)
AwsRdsDbDomainMembership & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue