/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FSx { namespace Model { /** *

The system generated response showing the DNS aliases that Amazon FSx is * attempting to associate with the file system. Use the API operation to monitor * the status of the aliases Amazon FSx is associating with the file system. It can * take up to 2.5 minutes for the alias status to change from CREATING * to AVAILABLE.

See Also:

AWS * API Reference

*/ class AssociateFileSystemAliasesResult { public: AWS_FSX_API AssociateFileSystemAliasesResult(); AWS_FSX_API AssociateFileSystemAliasesResult(const Aws::AmazonWebServiceResult& result); AWS_FSX_API AssociateFileSystemAliasesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of the DNS aliases that Amazon FSx is associating with the file * system.

*/ inline const Aws::Vector& GetAliases() const{ return m_aliases; } /** *

An array of the DNS aliases that Amazon FSx is associating with the file * system.

*/ inline void SetAliases(const Aws::Vector& value) { m_aliases = value; } /** *

An array of the DNS aliases that Amazon FSx is associating with the file * system.

*/ inline void SetAliases(Aws::Vector&& value) { m_aliases = std::move(value); } /** *

An array of the DNS aliases that Amazon FSx is associating with the file * system.

*/ inline AssociateFileSystemAliasesResult& WithAliases(const Aws::Vector& value) { SetAliases(value); return *this;} /** *

An array of the DNS aliases that Amazon FSx is associating with the file * system.

*/ inline AssociateFileSystemAliasesResult& WithAliases(Aws::Vector&& value) { SetAliases(std::move(value)); return *this;} /** *

An array of the DNS aliases that Amazon FSx is associating with the file * system.

*/ inline AssociateFileSystemAliasesResult& AddAliases(const Alias& value) { m_aliases.push_back(value); return *this; } /** *

An array of the DNS aliases that Amazon FSx is associating with the file * system.

*/ inline AssociateFileSystemAliasesResult& AddAliases(Alias&& value) { m_aliases.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AssociateFileSystemAliasesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateFileSystemAliasesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateFileSystemAliasesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_aliases; Aws::String m_requestId; }; } // namespace Model } // namespace FSx } // namespace Aws