/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the settings for the subdomain. See Also:
AWS
* API Reference
The prefix setting for the subdomain.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *The prefix setting for the subdomain.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The prefix setting for the subdomain.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The prefix setting for the subdomain.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The prefix setting for the subdomain.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *The prefix setting for the subdomain.
*/ inline SubDomainSetting& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *The prefix setting for the subdomain.
*/ inline SubDomainSetting& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *The prefix setting for the subdomain.
*/ inline SubDomainSetting& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *The branch name setting for the subdomain.
*/ inline const Aws::String& GetBranchName() const{ return m_branchName; } /** *The branch name setting for the subdomain.
*/ inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; } /** *The branch name setting for the subdomain.
*/ inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; } /** *The branch name setting for the subdomain.
*/ inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); } /** *The branch name setting for the subdomain.
*/ inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); } /** *The branch name setting for the subdomain.
*/ inline SubDomainSetting& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;} /** *The branch name setting for the subdomain.
*/ inline SubDomainSetting& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;} /** *The branch name setting for the subdomain.
*/ inline SubDomainSetting& WithBranchName(const char* value) { SetBranchName(value); return *this;} private: Aws::String m_prefix; bool m_prefixHasBeenSet = false; Aws::String m_branchName; bool m_branchNameHasBeenSet = false; }; } // namespace Model } // namespace Amplify } // namespace Aws