AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainAssociationRequest.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/AmplifyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/amplify/model/CertificateSettings.h>
12#include <aws/amplify/model/SubDomainSetting.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Amplify
18{
19namespace Model
20{
21
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainAssociation"; }
38
39 AWS_AMPLIFY_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetAppId() const{ return m_appId; }
47 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
49 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
50 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
51 inline UpdateDomainAssociationRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
52 inline UpdateDomainAssociationRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
53 inline UpdateDomainAssociationRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
55
57
60 inline const Aws::String& GetDomainName() const{ return m_domainName; }
61 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
62 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
63 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
64 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
65 inline UpdateDomainAssociationRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
66 inline UpdateDomainAssociationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
67 inline UpdateDomainAssociationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
69
71
74 inline bool GetEnableAutoSubDomain() const{ return m_enableAutoSubDomain; }
75 inline bool EnableAutoSubDomainHasBeenSet() const { return m_enableAutoSubDomainHasBeenSet; }
76 inline void SetEnableAutoSubDomain(bool value) { m_enableAutoSubDomainHasBeenSet = true; m_enableAutoSubDomain = value; }
79
81
84 inline const Aws::Vector<SubDomainSetting>& GetSubDomainSettings() const{ return m_subDomainSettings; }
85 inline bool SubDomainSettingsHasBeenSet() const { return m_subDomainSettingsHasBeenSet; }
86 inline void SetSubDomainSettings(const Aws::Vector<SubDomainSetting>& value) { m_subDomainSettingsHasBeenSet = true; m_subDomainSettings = value; }
87 inline void SetSubDomainSettings(Aws::Vector<SubDomainSetting>&& value) { m_subDomainSettingsHasBeenSet = true; m_subDomainSettings = std::move(value); }
90 inline UpdateDomainAssociationRequest& AddSubDomainSettings(const SubDomainSetting& value) { m_subDomainSettingsHasBeenSet = true; m_subDomainSettings.push_back(value); return *this; }
91 inline UpdateDomainAssociationRequest& AddSubDomainSettings(SubDomainSetting&& value) { m_subDomainSettingsHasBeenSet = true; m_subDomainSettings.push_back(std::move(value)); return *this; }
93
95
98 inline const Aws::Vector<Aws::String>& GetAutoSubDomainCreationPatterns() const{ return m_autoSubDomainCreationPatterns; }
99 inline bool AutoSubDomainCreationPatternsHasBeenSet() const { return m_autoSubDomainCreationPatternsHasBeenSet; }
100 inline void SetAutoSubDomainCreationPatterns(const Aws::Vector<Aws::String>& value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns = value; }
101 inline void SetAutoSubDomainCreationPatterns(Aws::Vector<Aws::String>&& value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns = std::move(value); }
104 inline UpdateDomainAssociationRequest& AddAutoSubDomainCreationPatterns(const Aws::String& value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns.push_back(value); return *this; }
105 inline UpdateDomainAssociationRequest& AddAutoSubDomainCreationPatterns(Aws::String&& value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns.push_back(std::move(value)); return *this; }
106 inline UpdateDomainAssociationRequest& AddAutoSubDomainCreationPatterns(const char* value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns.push_back(value); return *this; }
108
110
114 inline const Aws::String& GetAutoSubDomainIAMRole() const{ return m_autoSubDomainIAMRole; }
115 inline bool AutoSubDomainIAMRoleHasBeenSet() const { return m_autoSubDomainIAMRoleHasBeenSet; }
116 inline void SetAutoSubDomainIAMRole(const Aws::String& value) { m_autoSubDomainIAMRoleHasBeenSet = true; m_autoSubDomainIAMRole = value; }
117 inline void SetAutoSubDomainIAMRole(Aws::String&& value) { m_autoSubDomainIAMRoleHasBeenSet = true; m_autoSubDomainIAMRole = std::move(value); }
118 inline void SetAutoSubDomainIAMRole(const char* value) { m_autoSubDomainIAMRoleHasBeenSet = true; m_autoSubDomainIAMRole.assign(value); }
121 inline UpdateDomainAssociationRequest& WithAutoSubDomainIAMRole(const char* value) { SetAutoSubDomainIAMRole(value); return *this;}
123
125
128 inline const CertificateSettings& GetCertificateSettings() const{ return m_certificateSettings; }
129 inline bool CertificateSettingsHasBeenSet() const { return m_certificateSettingsHasBeenSet; }
130 inline void SetCertificateSettings(const CertificateSettings& value) { m_certificateSettingsHasBeenSet = true; m_certificateSettings = value; }
131 inline void SetCertificateSettings(CertificateSettings&& value) { m_certificateSettingsHasBeenSet = true; m_certificateSettings = std::move(value); }
135 private:
136
137 Aws::String m_appId;
138 bool m_appIdHasBeenSet = false;
139
140 Aws::String m_domainName;
141 bool m_domainNameHasBeenSet = false;
142
143 bool m_enableAutoSubDomain;
144 bool m_enableAutoSubDomainHasBeenSet = false;
145
146 Aws::Vector<SubDomainSetting> m_subDomainSettings;
147 bool m_subDomainSettingsHasBeenSet = false;
148
149 Aws::Vector<Aws::String> m_autoSubDomainCreationPatterns;
150 bool m_autoSubDomainCreationPatternsHasBeenSet = false;
151
152 Aws::String m_autoSubDomainIAMRole;
153 bool m_autoSubDomainIAMRoleHasBeenSet = false;
154
155 CertificateSettings m_certificateSettings;
156 bool m_certificateSettingsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace Amplify
161} // namespace Aws
UpdateDomainAssociationRequest & AddAutoSubDomainCreationPatterns(Aws::String &&value)
UpdateDomainAssociationRequest & AddAutoSubDomainCreationPatterns(const char *value)
UpdateDomainAssociationRequest & WithAutoSubDomainIAMRole(const Aws::String &value)
UpdateDomainAssociationRequest & WithDomainName(const Aws::String &value)
UpdateDomainAssociationRequest & WithSubDomainSettings(Aws::Vector< SubDomainSetting > &&value)
const Aws::Vector< SubDomainSetting > & GetSubDomainSettings() const
UpdateDomainAssociationRequest & WithDomainName(Aws::String &&value)
UpdateDomainAssociationRequest & WithAutoSubDomainIAMRole(const char *value)
UpdateDomainAssociationRequest & WithSubDomainSettings(const Aws::Vector< SubDomainSetting > &value)
UpdateDomainAssociationRequest & AddAutoSubDomainCreationPatterns(const Aws::String &value)
UpdateDomainAssociationRequest & WithAutoSubDomainIAMRole(Aws::String &&value)
void SetSubDomainSettings(Aws::Vector< SubDomainSetting > &&value)
UpdateDomainAssociationRequest & WithAppId(Aws::String &&value)
void SetAutoSubDomainCreationPatterns(const Aws::Vector< Aws::String > &value)
UpdateDomainAssociationRequest & WithEnableAutoSubDomain(bool value)
UpdateDomainAssociationRequest & WithCertificateSettings(CertificateSettings &&value)
UpdateDomainAssociationRequest & WithDomainName(const char *value)
UpdateDomainAssociationRequest & WithAutoSubDomainCreationPatterns(const Aws::Vector< Aws::String > &value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
void SetAutoSubDomainCreationPatterns(Aws::Vector< Aws::String > &&value)
UpdateDomainAssociationRequest & AddSubDomainSettings(SubDomainSetting &&value)
UpdateDomainAssociationRequest & WithCertificateSettings(const CertificateSettings &value)
const Aws::Vector< Aws::String > & GetAutoSubDomainCreationPatterns() const
UpdateDomainAssociationRequest & WithAppId(const Aws::String &value)
UpdateDomainAssociationRequest & WithAutoSubDomainCreationPatterns(Aws::Vector< Aws::String > &&value)
UpdateDomainAssociationRequest & AddSubDomainSettings(const SubDomainSetting &value)
void SetSubDomainSettings(const Aws::Vector< SubDomainSetting > &value)
UpdateDomainAssociationRequest & WithAppId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector