/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request structure for the update domain association request.
* See Also:
AWS
* API Reference
The unique ID for an Amplify app.
*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *The unique ID for an Amplify app.
*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *The unique ID for an Amplify app.
*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *The unique ID for an Amplify app.
*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *The unique ID for an Amplify app.
*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *The unique ID for an Amplify app.
*/ inline UpdateDomainAssociationRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The unique ID for an Amplify app.
*/ inline UpdateDomainAssociationRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The unique ID for an Amplify app.
*/ inline UpdateDomainAssociationRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *The name of the domain.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the domain.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the domain.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the domain.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the domain.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the domain.
*/ inline UpdateDomainAssociationRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the domain.
*/ inline UpdateDomainAssociationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the domain.
*/ inline UpdateDomainAssociationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *Enables the automated creation of subdomains for branches.
*/ inline bool GetEnableAutoSubDomain() const{ return m_enableAutoSubDomain; } /** *Enables the automated creation of subdomains for branches.
*/ inline bool EnableAutoSubDomainHasBeenSet() const { return m_enableAutoSubDomainHasBeenSet; } /** *Enables the automated creation of subdomains for branches.
*/ inline void SetEnableAutoSubDomain(bool value) { m_enableAutoSubDomainHasBeenSet = true; m_enableAutoSubDomain = value; } /** *Enables the automated creation of subdomains for branches.
*/ inline UpdateDomainAssociationRequest& WithEnableAutoSubDomain(bool value) { SetEnableAutoSubDomain(value); return *this;} /** *Describes the settings for the subdomain.
*/ inline const Aws::VectorDescribes the settings for the subdomain.
*/ inline bool SubDomainSettingsHasBeenSet() const { return m_subDomainSettingsHasBeenSet; } /** *Describes the settings for the subdomain.
*/ inline void SetSubDomainSettings(const Aws::VectorDescribes the settings for the subdomain.
*/ inline void SetSubDomainSettings(Aws::VectorDescribes the settings for the subdomain.
*/ inline UpdateDomainAssociationRequest& WithSubDomainSettings(const Aws::VectorDescribes the settings for the subdomain.
*/ inline UpdateDomainAssociationRequest& WithSubDomainSettings(Aws::VectorDescribes the settings for the subdomain.
*/ inline UpdateDomainAssociationRequest& AddSubDomainSettings(const SubDomainSetting& value) { m_subDomainSettingsHasBeenSet = true; m_subDomainSettings.push_back(value); return *this; } /** *Describes the settings for the subdomain.
*/ inline UpdateDomainAssociationRequest& AddSubDomainSettings(SubDomainSetting&& value) { m_subDomainSettingsHasBeenSet = true; m_subDomainSettings.push_back(std::move(value)); return *this; } /** *Sets the branch patterns for automatic subdomain creation.
*/ inline const Aws::VectorSets the branch patterns for automatic subdomain creation.
*/ inline bool AutoSubDomainCreationPatternsHasBeenSet() const { return m_autoSubDomainCreationPatternsHasBeenSet; } /** *Sets the branch patterns for automatic subdomain creation.
*/ inline void SetAutoSubDomainCreationPatterns(const Aws::VectorSets the branch patterns for automatic subdomain creation.
*/ inline void SetAutoSubDomainCreationPatterns(Aws::VectorSets the branch patterns for automatic subdomain creation.
*/ inline UpdateDomainAssociationRequest& WithAutoSubDomainCreationPatterns(const Aws::VectorSets the branch patterns for automatic subdomain creation.
*/ inline UpdateDomainAssociationRequest& WithAutoSubDomainCreationPatterns(Aws::VectorSets the branch patterns for automatic subdomain creation.
*/ inline UpdateDomainAssociationRequest& AddAutoSubDomainCreationPatterns(const Aws::String& value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns.push_back(value); return *this; } /** *Sets the branch patterns for automatic subdomain creation.
*/ inline UpdateDomainAssociationRequest& AddAutoSubDomainCreationPatterns(Aws::String&& value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns.push_back(std::move(value)); return *this; } /** *Sets the branch patterns for automatic subdomain creation.
*/ inline UpdateDomainAssociationRequest& AddAutoSubDomainCreationPatterns(const char* value) { m_autoSubDomainCreationPatternsHasBeenSet = true; m_autoSubDomainCreationPatterns.push_back(value); return *this; } /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline const Aws::String& GetAutoSubDomainIAMRole() const{ return m_autoSubDomainIAMRole; } /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline bool AutoSubDomainIAMRoleHasBeenSet() const { return m_autoSubDomainIAMRoleHasBeenSet; } /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline void SetAutoSubDomainIAMRole(const Aws::String& value) { m_autoSubDomainIAMRoleHasBeenSet = true; m_autoSubDomainIAMRole = value; } /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline void SetAutoSubDomainIAMRole(Aws::String&& value) { m_autoSubDomainIAMRoleHasBeenSet = true; m_autoSubDomainIAMRole = std::move(value); } /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline void SetAutoSubDomainIAMRole(const char* value) { m_autoSubDomainIAMRoleHasBeenSet = true; m_autoSubDomainIAMRole.assign(value); } /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline UpdateDomainAssociationRequest& WithAutoSubDomainIAMRole(const Aws::String& value) { SetAutoSubDomainIAMRole(value); return *this;} /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline UpdateDomainAssociationRequest& WithAutoSubDomainIAMRole(Aws::String&& value) { SetAutoSubDomainIAMRole(std::move(value)); return *this;} /** *The required AWS Identity and Access Management (IAM) service role for the * Amazon Resource Name (ARN) for automatically creating subdomains.
*/ inline UpdateDomainAssociationRequest& WithAutoSubDomainIAMRole(const char* value) { SetAutoSubDomainIAMRole(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; bool m_enableAutoSubDomain; bool m_enableAutoSubDomainHasBeenSet = false; Aws::Vector