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

For queries that originate in your VPC, detailed information about a Resolver * rule, which specifies how to route DNS queries out of the VPC. The * ResolverRule parameter appears in the response to a CreateResolverRule, * DeleteResolverRule, * GetResolverRule, * ListResolverRules, * or UpdateResolverRule * request.

See Also:

AWS * API Reference

*/ class ResolverRule { public: AWS_ROUTE53RESOLVER_API ResolverRule(); AWS_ROUTE53RESOLVER_API ResolverRule(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53RESOLVER_API ResolverRule& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline ResolverRule& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline ResolverRule& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID that Resolver assigned to the Resolver rule when you created it.

*/ inline ResolverRule& WithId(const char* value) { SetId(value); return *this;} /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; } /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; } /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; } /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); } /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); } /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline ResolverRule& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;} /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline ResolverRule& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;} /** *

A unique string that you specified when you created the Resolver rule. * CreatorRequestId identifies the request and allows failed requests * to be retried without the risk of running the operation twice.

*/ inline ResolverRule& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;} /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline ResolverRule& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline ResolverRule& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN (Amazon Resource Name) for the Resolver rule specified by * Id.

*/ inline ResolverRule& WithArn(const char* value) { SetArn(value); return *this;} /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline ResolverRule& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline ResolverRule& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

DNS queries for this domain name are forwarded to the IP addresses that are * specified in TargetIps. If a query matches multiple Resolver rules * (example.com and www.example.com), the query is routed using the Resolver rule * that contains the most specific domain name (www.example.com).

*/ inline ResolverRule& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

A code that specifies the current status of the Resolver rule.

*/ inline const ResolverRuleStatus& GetStatus() const{ return m_status; } /** *

A code that specifies the current status of the Resolver rule.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

A code that specifies the current status of the Resolver rule.

*/ inline void SetStatus(const ResolverRuleStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

A code that specifies the current status of the Resolver rule.

*/ inline void SetStatus(ResolverRuleStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

A code that specifies the current status of the Resolver rule.

*/ inline ResolverRule& WithStatus(const ResolverRuleStatus& value) { SetStatus(value); return *this;} /** *

A code that specifies the current status of the Resolver rule.

*/ inline ResolverRule& WithStatus(ResolverRuleStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

A detailed description of the status of a Resolver rule.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

A detailed description of the status of a Resolver rule.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

A detailed description of the status of a Resolver rule.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

A detailed description of the status of a Resolver rule.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

A detailed description of the status of a Resolver rule.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

A detailed description of the status of a Resolver rule.

*/ inline ResolverRule& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

A detailed description of the status of a Resolver rule.

*/ inline ResolverRule& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

A detailed description of the status of a Resolver rule.

*/ inline ResolverRule& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

When you want to forward DNS queries for specified domain name to resolvers * on your network, specify FORWARD.

When you have a forwarding * rule to forward DNS queries for a domain to your network and you want Resolver * to process queries for a subdomain of that domain, specify * SYSTEM.

For example, to forward DNS queries for example.com * to resolvers on your network, you create a rule and specify FORWARD * for RuleType. To then have Resolver process queries for * apex.example.com, you create a rule and specify SYSTEM for * RuleType.

Currently, only Resolver can create rules that * have a value of RECURSIVE for RuleType.

*/ inline const RuleTypeOption& GetRuleType() const{ return m_ruleType; } /** *

When you want to forward DNS queries for specified domain name to resolvers * on your network, specify FORWARD.

When you have a forwarding * rule to forward DNS queries for a domain to your network and you want Resolver * to process queries for a subdomain of that domain, specify * SYSTEM.

For example, to forward DNS queries for example.com * to resolvers on your network, you create a rule and specify FORWARD * for RuleType. To then have Resolver process queries for * apex.example.com, you create a rule and specify SYSTEM for * RuleType.

Currently, only Resolver can create rules that * have a value of RECURSIVE for RuleType.

*/ inline bool RuleTypeHasBeenSet() const { return m_ruleTypeHasBeenSet; } /** *

When you want to forward DNS queries for specified domain name to resolvers * on your network, specify FORWARD.

When you have a forwarding * rule to forward DNS queries for a domain to your network and you want Resolver * to process queries for a subdomain of that domain, specify * SYSTEM.

For example, to forward DNS queries for example.com * to resolvers on your network, you create a rule and specify FORWARD * for RuleType. To then have Resolver process queries for * apex.example.com, you create a rule and specify SYSTEM for * RuleType.

Currently, only Resolver can create rules that * have a value of RECURSIVE for RuleType.

*/ inline void SetRuleType(const RuleTypeOption& value) { m_ruleTypeHasBeenSet = true; m_ruleType = value; } /** *

When you want to forward DNS queries for specified domain name to resolvers * on your network, specify FORWARD.

When you have a forwarding * rule to forward DNS queries for a domain to your network and you want Resolver * to process queries for a subdomain of that domain, specify * SYSTEM.

For example, to forward DNS queries for example.com * to resolvers on your network, you create a rule and specify FORWARD * for RuleType. To then have Resolver process queries for * apex.example.com, you create a rule and specify SYSTEM for * RuleType.

Currently, only Resolver can create rules that * have a value of RECURSIVE for RuleType.

*/ inline void SetRuleType(RuleTypeOption&& value) { m_ruleTypeHasBeenSet = true; m_ruleType = std::move(value); } /** *

When you want to forward DNS queries for specified domain name to resolvers * on your network, specify FORWARD.

When you have a forwarding * rule to forward DNS queries for a domain to your network and you want Resolver * to process queries for a subdomain of that domain, specify * SYSTEM.

For example, to forward DNS queries for example.com * to resolvers on your network, you create a rule and specify FORWARD * for RuleType. To then have Resolver process queries for * apex.example.com, you create a rule and specify SYSTEM for * RuleType.

Currently, only Resolver can create rules that * have a value of RECURSIVE for RuleType.

*/ inline ResolverRule& WithRuleType(const RuleTypeOption& value) { SetRuleType(value); return *this;} /** *

When you want to forward DNS queries for specified domain name to resolvers * on your network, specify FORWARD.

When you have a forwarding * rule to forward DNS queries for a domain to your network and you want Resolver * to process queries for a subdomain of that domain, specify * SYSTEM.

For example, to forward DNS queries for example.com * to resolvers on your network, you create a rule and specify FORWARD * for RuleType. To then have Resolver process queries for * apex.example.com, you create a rule and specify SYSTEM for * RuleType.

Currently, only Resolver can create rules that * have a value of RECURSIVE for RuleType.

*/ inline ResolverRule& WithRuleType(RuleTypeOption&& value) { SetRuleType(std::move(value)); return *this;} /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline ResolverRule& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline ResolverRule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for the Resolver rule, which you specified when you created the * Resolver rule.

*/ inline ResolverRule& WithName(const char* value) { SetName(value); return *this;} /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline const Aws::Vector& GetTargetIps() const{ return m_targetIps; } /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline bool TargetIpsHasBeenSet() const { return m_targetIpsHasBeenSet; } /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline void SetTargetIps(const Aws::Vector& value) { m_targetIpsHasBeenSet = true; m_targetIps = value; } /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline void SetTargetIps(Aws::Vector&& value) { m_targetIpsHasBeenSet = true; m_targetIps = std::move(value); } /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline ResolverRule& WithTargetIps(const Aws::Vector& value) { SetTargetIps(value); return *this;} /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline ResolverRule& WithTargetIps(Aws::Vector&& value) { SetTargetIps(std::move(value)); return *this;} /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline ResolverRule& AddTargetIps(const TargetAddress& value) { m_targetIpsHasBeenSet = true; m_targetIps.push_back(value); return *this; } /** *

An array that contains the IP addresses and ports that an outbound endpoint * forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers * on your network.

*/ inline ResolverRule& AddTargetIps(TargetAddress&& value) { m_targetIpsHasBeenSet = true; m_targetIps.push_back(std::move(value)); return *this; } /** *

The ID of the endpoint that the rule is associated with.

*/ inline const Aws::String& GetResolverEndpointId() const{ return m_resolverEndpointId; } /** *

The ID of the endpoint that the rule is associated with.

*/ inline bool ResolverEndpointIdHasBeenSet() const { return m_resolverEndpointIdHasBeenSet; } /** *

The ID of the endpoint that the rule is associated with.

*/ inline void SetResolverEndpointId(const Aws::String& value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId = value; } /** *

The ID of the endpoint that the rule is associated with.

*/ inline void SetResolverEndpointId(Aws::String&& value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId = std::move(value); } /** *

The ID of the endpoint that the rule is associated with.

*/ inline void SetResolverEndpointId(const char* value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId.assign(value); } /** *

The ID of the endpoint that the rule is associated with.

*/ inline ResolverRule& WithResolverEndpointId(const Aws::String& value) { SetResolverEndpointId(value); return *this;} /** *

The ID of the endpoint that the rule is associated with.

*/ inline ResolverRule& WithResolverEndpointId(Aws::String&& value) { SetResolverEndpointId(std::move(value)); return *this;} /** *

The ID of the endpoint that the rule is associated with.

*/ inline ResolverRule& WithResolverEndpointId(const char* value) { SetResolverEndpointId(value); return *this;} /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline ResolverRule& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline ResolverRule& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *

When a rule is shared with another Amazon Web Services account, the account * ID of the account that the rule is shared with.

*/ inline ResolverRule& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *

Whether the rule is shared and, if so, whether the current account is sharing * the rule with another account, or another account is sharing the rule with the * current account.

*/ inline const ShareStatus& GetShareStatus() const{ return m_shareStatus; } /** *

Whether the rule is shared and, if so, whether the current account is sharing * the rule with another account, or another account is sharing the rule with the * current account.

*/ inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; } /** *

Whether the rule is shared and, if so, whether the current account is sharing * the rule with another account, or another account is sharing the rule with the * current account.

*/ inline void SetShareStatus(const ShareStatus& value) { m_shareStatusHasBeenSet = true; m_shareStatus = value; } /** *

Whether the rule is shared and, if so, whether the current account is sharing * the rule with another account, or another account is sharing the rule with the * current account.

*/ inline void SetShareStatus(ShareStatus&& value) { m_shareStatusHasBeenSet = true; m_shareStatus = std::move(value); } /** *

Whether the rule is shared and, if so, whether the current account is sharing * the rule with another account, or another account is sharing the rule with the * current account.

*/ inline ResolverRule& WithShareStatus(const ShareStatus& value) { SetShareStatus(value); return *this;} /** *

Whether the rule is shared and, if so, whether the current account is sharing * the rule with another account, or another account is sharing the rule with the * current account.

*/ inline ResolverRule& WithShareStatus(ShareStatus&& value) { SetShareStatus(std::move(value)); return *this;} /** *

The date and time that the Resolver rule 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 Resolver rule was created, in Unix time format and * Coordinated Universal Time (UTC).

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The date and time that the Resolver rule 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 Resolver rule 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 Resolver rule 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 Resolver rule was created, in Unix time format and * Coordinated Universal Time (UTC).

*/ inline ResolverRule& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *

The date and time that the Resolver rule was created, in Unix time format and * Coordinated Universal Time (UTC).

*/ inline ResolverRule& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The date and time that the Resolver rule was created, in Unix time format and * Coordinated Universal Time (UTC).

*/ inline ResolverRule& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *

The date and time that the Resolver rule was last updated, in Unix time * format and Coordinated Universal Time (UTC).

*/ inline const Aws::String& GetModificationTime() const{ return m_modificationTime; } /** *

The date and time that the Resolver rule was last updated, in Unix time * format and Coordinated Universal Time (UTC).

*/ inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; } /** *

The date and time that the Resolver rule was last updated, 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 Resolver rule was last updated, 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 Resolver rule was last updated, 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 Resolver rule was last updated, in Unix time * format and Coordinated Universal Time (UTC).

*/ inline ResolverRule& WithModificationTime(const Aws::String& value) { SetModificationTime(value); return *this;} /** *

The date and time that the Resolver rule was last updated, in Unix time * format and Coordinated Universal Time (UTC).

*/ inline ResolverRule& WithModificationTime(Aws::String&& value) { SetModificationTime(std::move(value)); return *this;} /** *

The date and time that the Resolver rule was last updated, in Unix time * format and Coordinated Universal Time (UTC).

*/ inline ResolverRule& WithModificationTime(const char* value) { SetModificationTime(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_creatorRequestId; bool m_creatorRequestIdHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; ResolverRuleStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; RuleTypeOption m_ruleType; bool m_ruleTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_targetIps; bool m_targetIpsHasBeenSet = false; Aws::String m_resolverEndpointId; bool m_resolverEndpointIdHasBeenSet = false; Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; ShareStatus m_shareStatus; bool m_shareStatusHasBeenSet = false; Aws::String m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_modificationTime; bool m_modificationTimeHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws