AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Association.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 RedshiftServerless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REDSHIFTSERVERLESS_API Association();
37 AWS_REDSHIFTSERVERLESS_API Association(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API Association& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCustomDomainCertificateArn() const{ return m_customDomainCertificateArn; }
47 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
48 inline void SetCustomDomainCertificateArn(const Aws::String& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = value; }
49 inline void SetCustomDomainCertificateArn(Aws::String&& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = std::move(value); }
50 inline void SetCustomDomainCertificateArn(const char* value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn.assign(value); }
52 inline Association& WithCustomDomainCertificateArn(Aws::String&& value) { SetCustomDomainCertificateArn(std::move(value)); return *this;}
53 inline Association& WithCustomDomainCertificateArn(const char* value) { SetCustomDomainCertificateArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCustomDomainCertificateExpiryTime() const{ return m_customDomainCertificateExpiryTime; }
61 inline bool CustomDomainCertificateExpiryTimeHasBeenSet() const { return m_customDomainCertificateExpiryTimeHasBeenSet; }
62 inline void SetCustomDomainCertificateExpiryTime(const Aws::Utils::DateTime& value) { m_customDomainCertificateExpiryTimeHasBeenSet = true; m_customDomainCertificateExpiryTime = value; }
63 inline void SetCustomDomainCertificateExpiryTime(Aws::Utils::DateTime&& value) { m_customDomainCertificateExpiryTimeHasBeenSet = true; m_customDomainCertificateExpiryTime = std::move(value); }
67
69
72 inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; }
73 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
74 inline void SetCustomDomainName(const Aws::String& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = value; }
75 inline void SetCustomDomainName(Aws::String&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::move(value); }
76 inline void SetCustomDomainName(const char* value) { m_customDomainNameHasBeenSet = true; m_customDomainName.assign(value); }
77 inline Association& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;}
78 inline Association& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;}
79 inline Association& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;}
81
83
86 inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; }
87 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
88 inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; }
89 inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); }
90 inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); }
91 inline Association& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;}
92 inline Association& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;}
93 inline Association& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;}
95 private:
96
97 Aws::String m_customDomainCertificateArn;
98 bool m_customDomainCertificateArnHasBeenSet = false;
99
100 Aws::Utils::DateTime m_customDomainCertificateExpiryTime;
101 bool m_customDomainCertificateExpiryTimeHasBeenSet = false;
102
103 Aws::String m_customDomainName;
104 bool m_customDomainNameHasBeenSet = false;
105
106 Aws::String m_workgroupName;
107 bool m_workgroupNameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace RedshiftServerless
112} // namespace Aws
const Aws::String & GetWorkgroupName() const
Definition Association.h:86
const Aws::String & GetCustomDomainName() const
Definition Association.h:72
Association & WithCustomDomainCertificateExpiryTime(Aws::Utils::DateTime &&value)
Definition Association.h:65
Association & WithCustomDomainCertificateArn(const Aws::String &value)
Definition Association.h:51
void SetCustomDomainCertificateArn(const char *value)
Definition Association.h:50
Association & WithWorkgroupName(const Aws::String &value)
Definition Association.h:91
Association & WithCustomDomainCertificateArn(Aws::String &&value)
Definition Association.h:52
void SetCustomDomainCertificateExpiryTime(Aws::Utils::DateTime &&value)
Definition Association.h:63
void SetCustomDomainCertificateExpiryTime(const Aws::Utils::DateTime &value)
Definition Association.h:62
AWS_REDSHIFTSERVERLESS_API Association()
Association & WithCustomDomainCertificateArn(const char *value)
Definition Association.h:53
void SetCustomDomainName(const char *value)
Definition Association.h:76
AWS_REDSHIFTSERVERLESS_API Association & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWorkgroupName(const Aws::String &value)
Definition Association.h:88
const Aws::Utils::DateTime & GetCustomDomainCertificateExpiryTime() const
Definition Association.h:60
void SetWorkgroupName(Aws::String &&value)
Definition Association.h:89
Association & WithCustomDomainName(const char *value)
Definition Association.h:79
void SetCustomDomainName(const Aws::String &value)
Definition Association.h:74
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCustomDomainCertificateArn() const
Definition Association.h:46
AWS_REDSHIFTSERVERLESS_API Association(Aws::Utils::Json::JsonView jsonValue)
Association & WithCustomDomainName(Aws::String &&value)
Definition Association.h:78
void SetCustomDomainName(Aws::String &&value)
Definition Association.h:75
Association & WithCustomDomainName(const Aws::String &value)
Definition Association.h:77
void SetCustomDomainCertificateArn(const Aws::String &value)
Definition Association.h:48
Association & WithWorkgroupName(Aws::String &&value)
Definition Association.h:92
Association & WithWorkgroupName(const char *value)
Definition Association.h:93
Association & WithCustomDomainCertificateExpiryTime(const Aws::Utils::DateTime &value)
Definition Association.h:64
void SetCustomDomainCertificateArn(Aws::String &&value)
Definition Association.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue