/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains settings for an existing Resolver on an
* Outpost.See Also:
AWS
* API Reference
The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline OutpostResolver& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline OutpostResolver& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN (Amazon Resource Name) for the Resolver on an Outpost.
*/ inline OutpostResolver& WithArn(const char* value) { SetArn(value); return *this;} /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline const Aws::String& GetCreationTime() const{ return m_creationTime; } /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); } /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline OutpostResolver& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline OutpostResolver& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *The date and time that the Outpost Resolver was created, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline OutpostResolver& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline const Aws::String& GetModificationTime() const{ return m_modificationTime; } /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; } /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(const Aws::String& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; } /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(Aws::String&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); } /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(const char* value) { m_modificationTimeHasBeenSet = true; m_modificationTime.assign(value); } /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline OutpostResolver& WithModificationTime(const Aws::String& value) { SetModificationTime(value); return *this;} /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline OutpostResolver& WithModificationTime(Aws::String&& value) { SetModificationTime(std::move(value)); return *this;} /** *The date and time that the Outpost Resolver was modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline OutpostResolver& WithModificationTime(const char* value) { SetModificationTime(value); return *this;} /** *A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
A unique string that identifies the request that created the Resolver
* endpoint. The CreatorRequestId
allows failed requests to be retried
* without the risk of running the operation twice.
The ID of the Resolver on Outpost.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the Resolver on Outpost.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the Resolver on Outpost.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the Resolver on Outpost.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the Resolver on Outpost.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the Resolver on Outpost.
*/ inline OutpostResolver& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the Resolver on Outpost.
*/ inline OutpostResolver& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the Resolver on Outpost.
*/ inline OutpostResolver& WithId(const char* value) { SetId(value); return *this;} /** *Amazon EC2 instance count for the Resolver on the Outpost.
*/ inline int GetInstanceCount() const{ return m_instanceCount; } /** *Amazon EC2 instance count for the Resolver on the Outpost.
*/ inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; } /** *Amazon EC2 instance count for the Resolver on the Outpost.
*/ inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; } /** *Amazon EC2 instance count for the Resolver on the Outpost.
*/ inline OutpostResolver& WithInstanceCount(int value) { SetInstanceCount(value); return *this;} /** *The Amazon EC2 instance type.
*/ inline const Aws::String& GetPreferredInstanceType() const{ return m_preferredInstanceType; } /** *The Amazon EC2 instance type.
*/ inline bool PreferredInstanceTypeHasBeenSet() const { return m_preferredInstanceTypeHasBeenSet; } /** *The Amazon EC2 instance type.
*/ inline void SetPreferredInstanceType(const Aws::String& value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType = value; } /** *The Amazon EC2 instance type.
*/ inline void SetPreferredInstanceType(Aws::String&& value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType = std::move(value); } /** *The Amazon EC2 instance type.
*/ inline void SetPreferredInstanceType(const char* value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType.assign(value); } /** *The Amazon EC2 instance type.
*/ inline OutpostResolver& WithPreferredInstanceType(const Aws::String& value) { SetPreferredInstanceType(value); return *this;} /** *The Amazon EC2 instance type.
*/ inline OutpostResolver& WithPreferredInstanceType(Aws::String&& value) { SetPreferredInstanceType(std::move(value)); return *this;} /** *The Amazon EC2 instance type.
*/ inline OutpostResolver& WithPreferredInstanceType(const char* value) { SetPreferredInstanceType(value); return *this;} /** *Name of the Resolver.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of the Resolver.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of the Resolver.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of the Resolver.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of the Resolver.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of the Resolver.
*/ inline OutpostResolver& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of the Resolver.
*/ inline OutpostResolver& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of the Resolver.
*/ inline OutpostResolver& WithName(const char* value) { SetName(value); return *this;} /** *Status of the Resolver.
*/ inline const OutpostResolverStatus& GetStatus() const{ return m_status; } /** *Status of the Resolver.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of the Resolver.
*/ inline void SetStatus(const OutpostResolverStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of the Resolver.
*/ inline void SetStatus(OutpostResolverStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of the Resolver.
*/ inline OutpostResolver& WithStatus(const OutpostResolverStatus& value) { SetStatus(value); return *this;} /** *Status of the Resolver.
*/ inline OutpostResolver& WithStatus(OutpostResolverStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A detailed description of the Resolver.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A detailed description of the Resolver.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A detailed description of the Resolver.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A detailed description of the Resolver.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A detailed description of the Resolver.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A detailed description of the Resolver.
*/ inline OutpostResolver& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A detailed description of the Resolver.
*/ inline OutpostResolver& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A detailed description of the Resolver.
*/ inline OutpostResolver& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; } /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; } /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; } /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); } /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); } /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline OutpostResolver& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;} /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline OutpostResolver& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;} /** *The ARN (Amazon Resource Name) for the Outpost.
*/ inline OutpostResolver& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_modificationTime; bool m_modificationTimeHasBeenSet = false; Aws::String m_creatorRequestId; bool m_creatorRequestIdHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; int m_instanceCount; bool m_instanceCountHasBeenSet = false; Aws::String m_preferredInstanceType; bool m_preferredInstanceTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; OutpostResolverStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_outpostArn; bool m_outpostArnHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws