/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a network.See Also:
AWS
* API Reference
The creation time of the network.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The creation time of the network.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The creation time of the network.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The creation time of the network.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The creation time of the network.
*/ inline Network& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The creation time of the network.
*/ inline Network& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The description of the network.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the network.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the network.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the network.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the network.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the network.
*/ inline Network& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the network.
*/ inline Network& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the network.
*/ inline Network& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The Amazon Resource Name (ARN) of the network.
*/ inline const Aws::String& GetNetworkArn() const{ return m_networkArn; } /** *The Amazon Resource Name (ARN) of the network.
*/ inline bool NetworkArnHasBeenSet() const { return m_networkArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the network.
*/ inline void SetNetworkArn(const Aws::String& value) { m_networkArnHasBeenSet = true; m_networkArn = value; } /** *The Amazon Resource Name (ARN) of the network.
*/ inline void SetNetworkArn(Aws::String&& value) { m_networkArnHasBeenSet = true; m_networkArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the network.
*/ inline void SetNetworkArn(const char* value) { m_networkArnHasBeenSet = true; m_networkArn.assign(value); } /** *The Amazon Resource Name (ARN) of the network.
*/ inline Network& WithNetworkArn(const Aws::String& value) { SetNetworkArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the network.
*/ inline Network& WithNetworkArn(Aws::String&& value) { SetNetworkArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the network.
*/ inline Network& WithNetworkArn(const char* value) { SetNetworkArn(value); return *this;} /** *The name of the network.
*/ inline const Aws::String& GetNetworkName() const{ return m_networkName; } /** *The name of the network.
*/ inline bool NetworkNameHasBeenSet() const { return m_networkNameHasBeenSet; } /** *The name of the network.
*/ inline void SetNetworkName(const Aws::String& value) { m_networkNameHasBeenSet = true; m_networkName = value; } /** *The name of the network.
*/ inline void SetNetworkName(Aws::String&& value) { m_networkNameHasBeenSet = true; m_networkName = std::move(value); } /** *The name of the network.
*/ inline void SetNetworkName(const char* value) { m_networkNameHasBeenSet = true; m_networkName.assign(value); } /** *The name of the network.
*/ inline Network& WithNetworkName(const Aws::String& value) { SetNetworkName(value); return *this;} /** *The name of the network.
*/ inline Network& WithNetworkName(Aws::String&& value) { SetNetworkName(std::move(value)); return *this;} /** *The name of the network.
*/ inline Network& WithNetworkName(const char* value) { SetNetworkName(value); return *this;} /** *The status of the network.
*/ inline const NetworkStatus& GetStatus() const{ return m_status; } /** *The status of the network.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the network.
*/ inline void SetStatus(const NetworkStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the network.
*/ inline void SetStatus(NetworkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the network.
*/ inline Network& WithStatus(const NetworkStatus& value) { SetStatus(value); return *this;} /** *The status of the network.
*/ inline Network& WithStatus(NetworkStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The status reason of the network.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *The status reason of the network.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *The status reason of the network.
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *The status reason of the network.
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *The status reason of the network.
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *The status reason of the network.
*/ inline Network& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *The status reason of the network.
*/ inline Network& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *The status reason of the network.
*/ inline Network& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_networkArn; bool m_networkArnHasBeenSet = false; Aws::String m_networkName; bool m_networkNameHasBeenSet = false; NetworkStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; }; } // namespace Model } // namespace PrivateNetworks } // namespace Aws