/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about a service network.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the service network.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the service network.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the service network.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the service network.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the service network.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the service network.
*/ inline ServiceNetworkSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the service network.
*/ inline ServiceNetworkSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the service network.
*/ inline ServiceNetworkSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The date and time that the service network was created, specified in ISO-8601 * format.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date and time that the service network was created, specified in ISO-8601 * format.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date and time that the service network was created, specified in ISO-8601 * format.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date and time that the service network was created, specified in ISO-8601 * format.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date and time that the service network was created, specified in ISO-8601 * format.
*/ inline ServiceNetworkSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time that the service network was created, specified in ISO-8601 * format.
*/ inline ServiceNetworkSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The ID of the service network.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the service network.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the service network.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the service network.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the service network.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the service network.
*/ inline ServiceNetworkSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the service network.
*/ inline ServiceNetworkSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the service network.
*/ inline ServiceNetworkSummary& WithId(const char* value) { SetId(value); return *this;} /** *The date and time that the service network was last updated, specified in * ISO-8601 format.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The date and time that the service network was last updated, specified in * ISO-8601 format.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The date and time that the service network was last updated, specified in * ISO-8601 format.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The date and time that the service network was last updated, specified in * ISO-8601 format.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The date and time that the service network was last updated, specified in * ISO-8601 format.
*/ inline ServiceNetworkSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The date and time that the service network was last updated, specified in * ISO-8601 format.
*/ inline ServiceNetworkSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The name of the service network.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the service network.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the service network.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the service network.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the service network.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the service network.
*/ inline ServiceNetworkSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the service network.
*/ inline ServiceNetworkSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the service network.
*/ inline ServiceNetworkSummary& WithName(const char* value) { SetName(value); return *this;} /** *The number of services associated with the service network.
*/ inline long long GetNumberOfAssociatedServices() const{ return m_numberOfAssociatedServices; } /** *The number of services associated with the service network.
*/ inline bool NumberOfAssociatedServicesHasBeenSet() const { return m_numberOfAssociatedServicesHasBeenSet; } /** *The number of services associated with the service network.
*/ inline void SetNumberOfAssociatedServices(long long value) { m_numberOfAssociatedServicesHasBeenSet = true; m_numberOfAssociatedServices = value; } /** *The number of services associated with the service network.
*/ inline ServiceNetworkSummary& WithNumberOfAssociatedServices(long long value) { SetNumberOfAssociatedServices(value); return *this;} /** *The number of VPCs associated with the service network.
*/ inline long long GetNumberOfAssociatedVPCs() const{ return m_numberOfAssociatedVPCs; } /** *The number of VPCs associated with the service network.
*/ inline bool NumberOfAssociatedVPCsHasBeenSet() const { return m_numberOfAssociatedVPCsHasBeenSet; } /** *The number of VPCs associated with the service network.
*/ inline void SetNumberOfAssociatedVPCs(long long value) { m_numberOfAssociatedVPCsHasBeenSet = true; m_numberOfAssociatedVPCs = value; } /** *The number of VPCs associated with the service network.
*/ inline ServiceNetworkSummary& WithNumberOfAssociatedVPCs(long long value) { SetNumberOfAssociatedVPCs(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; long long m_numberOfAssociatedServices; bool m_numberOfAssociatedServicesHasBeenSet = false; long long m_numberOfAssociatedVPCs; bool m_numberOfAssociatedVPCsHasBeenSet = false; }; } // namespace Model } // namespace VPCLattice } // namespace Aws