7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/model/AcknowledgmentStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/privatenetworks/model/Address.h>
13#include <aws/privatenetworks/model/OrderedResourceDefinition.h>
14#include <aws/privatenetworks/model/TrackingInformation.h>
27namespace PrivateNetworks
40 AWS_PRIVATENETWORKS_API
Order();
78 inline void SetNetworkArn(
const char* value) { m_networkArnHasBeenSet =
true; m_networkArn.assign(value); }
93 inline void SetNetworkSiteArn(
const char* value) { m_networkSiteArnHasBeenSet =
true; m_networkSiteArn.assign(value); }
107 inline void SetOrderArn(
const char* value) { m_orderArnHasBeenSet =
true; m_orderArn.assign(value); }
155 bool m_acknowledgmentStatusHasBeenSet =
false;
158 bool m_createdAtHasBeenSet =
false;
161 bool m_networkArnHasBeenSet =
false;
164 bool m_networkSiteArnHasBeenSet =
false;
167 bool m_orderArnHasBeenSet =
false;
170 bool m_orderedResourcesHasBeenSet =
false;
173 bool m_shippingAddressHasBeenSet =
false;
176 bool m_trackingInformationHasBeenSet =
false;
Order & WithNetworkArn(const Aws::String &value)
void SetNetworkSiteArn(const Aws::String &value)
AWS_PRIVATENETWORKS_API Order & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkArn(const Aws::String &value)
Order & WithCreatedAt(const Aws::Utils::DateTime &value)
Order & WithNetworkSiteArn(Aws::String &&value)
bool AcknowledgmentStatusHasBeenSet() const
void SetAcknowledgmentStatus(const AcknowledgmentStatus &value)
bool ShippingAddressHasBeenSet() const
AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
Order & WithNetworkSiteArn(const char *value)
void SetNetworkArn(const char *value)
void SetNetworkSiteArn(Aws::String &&value)
bool TrackingInformationHasBeenSet() const
Order & WithNetworkSiteArn(const Aws::String &value)
const AcknowledgmentStatus & GetAcknowledgmentStatus() const
Order & WithShippingAddress(const Address &value)
void SetOrderArn(Aws::String &&value)
Order & WithTrackingInformation(Aws::Vector< TrackingInformation > &&value)
Order & WithAcknowledgmentStatus(AcknowledgmentStatus &&value)
const Aws::String & GetNetworkArn() const
bool OrderedResourcesHasBeenSet() const
Order & WithOrderArn(const Aws::String &value)
void SetShippingAddress(Address &&value)
Order & WithOrderArn(const char *value)
bool OrderArnHasBeenSet() const
Order & WithAcknowledgmentStatus(const AcknowledgmentStatus &value)
const Aws::Vector< TrackingInformation > & GetTrackingInformation() const
Order & AddTrackingInformation(TrackingInformation &&value)
void SetAcknowledgmentStatus(AcknowledgmentStatus &&value)
void SetOrderArn(const Aws::String &value)
Order & WithNetworkArn(Aws::String &&value)
void SetTrackingInformation(const Aws::Vector< TrackingInformation > &value)
const Address & GetShippingAddress() const
void SetOrderedResources(const Aws::Vector< OrderedResourceDefinition > &value)
Order & WithOrderedResources(Aws::Vector< OrderedResourceDefinition > &&value)
const Aws::Vector< OrderedResourceDefinition > & GetOrderedResources() const
bool NetworkArnHasBeenSet() const
Order & AddOrderedResources(OrderedResourceDefinition &&value)
AWS_PRIVATENETWORKS_API Order(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkArn(Aws::String &&value)
Order & AddTrackingInformation(const TrackingInformation &value)
Order & WithCreatedAt(Aws::Utils::DateTime &&value)
Order & WithTrackingInformation(const Aws::Vector< TrackingInformation > &value)
AWS_PRIVATENETWORKS_API Order()
void SetOrderedResources(Aws::Vector< OrderedResourceDefinition > &&value)
Order & WithOrderArn(Aws::String &&value)
const Aws::String & GetOrderArn() const
void SetTrackingInformation(Aws::Vector< TrackingInformation > &&value)
Order & WithNetworkArn(const char *value)
const Aws::String & GetNetworkSiteArn() const
void SetNetworkSiteArn(const char *value)
void SetShippingAddress(const Address &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetOrderArn(const char *value)
Order & WithShippingAddress(Address &&value)
Order & WithOrderedResources(const Aws::Vector< OrderedResourceDefinition > &value)
bool CreatedAtHasBeenSet() const
Order & AddOrderedResources(const OrderedResourceDefinition &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool NetworkSiteArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue