7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/snowball/Snowball_EXPORTS.h>
11#include <aws/snowball/model/ClusterState.h>
33 AWS_SNOWBALL_API
ClusterListEntry(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_SNOWBALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename ClusterIdT = Aws::String>
46 m_clusterIdHasBeenSet =
true;
47 m_clusterId = std::forward<ClusterIdT>(value);
49 template <
typename ClusterIdT = Aws::String>
64 m_clusterStateHasBeenSet =
true;
65 m_clusterState = value;
79 template <
typename CreationDateT = Aws::Utils::DateTime>
81 m_creationDateHasBeenSet =
true;
82 m_creationDate = std::forward<CreationDateT>(value);
84 template <
typename CreationDateT = Aws::Utils::DateTime>
98 template <
typename DescriptionT = Aws::String>
100 m_descriptionHasBeenSet =
true;
101 m_description = std::forward<DescriptionT>(value);
103 template <
typename DescriptionT = Aws::String>
117 bool m_clusterIdHasBeenSet =
false;
118 bool m_clusterStateHasBeenSet =
false;
119 bool m_creationDateHasBeenSet =
false;
120 bool m_descriptionHasBeenSet =
false;
ClusterState GetClusterState() const
void SetClusterId(ClusterIdT &&value)
ClusterListEntry & WithClusterState(ClusterState value)
bool CreationDateHasBeenSet() const
AWS_SNOWBALL_API ClusterListEntry(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetDescription(DescriptionT &&value)
AWS_SNOWBALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ClusterListEntry & WithCreationDate(CreationDateT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetClusterId() const
AWS_SNOWBALL_API ClusterListEntry & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetClusterState(ClusterState value)
ClusterListEntry & WithClusterId(ClusterIdT &&value)
bool ClusterStateHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDate() const
bool DescriptionHasBeenSet() const
bool ClusterIdHasBeenSet() const
AWS_SNOWBALL_API ClusterListEntry()=default
ClusterListEntry & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String