/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request object specifying one or more DNS alias names to associate with
* an Amazon FSx for Windows File Server file system.See Also:
AWS
* API Reference
Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline AssociateFileSystemAliasesRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline AssociateFileSystemAliasesRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *Specifies the file system with which you want to associate one or more DNS * aliases.
*/ inline AssociateFileSystemAliasesRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *An array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline const Aws::VectorAn array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; } /** *An array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline void SetAliases(const Aws::VectorAn array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline void SetAliases(Aws::VectorAn array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline AssociateFileSystemAliasesRequest& WithAliases(const Aws::VectorAn array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline AssociateFileSystemAliasesRequest& WithAliases(Aws::VectorAn array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline AssociateFileSystemAliasesRequest& AddAliases(const Aws::String& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; } /** *An array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline AssociateFileSystemAliasesRequest& AddAliases(Aws::String&& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(std::move(value)); return *this; } /** *An array of one or more DNS alias names to associate with the file system. * The alias name has to comply with the following formatting requirements:
*Formatted as a fully-qualified domain name (FQDN),
* hostname.domain
, for example,
* accounting.corp.example.com
.
Can contain * alphanumeric characters and the hyphen (-).
Cannot start or * end with a hyphen.
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase * letters (a-z), regardless of how you specify them: as uppercase letters, * lowercase letters, or the corresponding letters in escape codes.
*/ inline AssociateFileSystemAliasesRequest& AddAliases(const char* value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; } private: Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; Aws::Vector