7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pcs/model/QueueStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/pcs/model/ComputeNodeGroupConfiguration.h>
13#include <aws/pcs/model/ErrorInfo.h>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
65 template<
typename IdT = Aws::String>
75 template<
typename ArnT = Aws::String>
76 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
77 template<
typename ArnT = Aws::String>
87 template<
typename ClusterIdT = Aws::String>
88 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet =
true; m_clusterId = std::forward<ClusterIdT>(value); }
89 template<
typename ClusterIdT = Aws::String>
99 template<
typename CreatedAtT = Aws::Utils::DateTime>
100 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
101 template<
typename CreatedAtT = Aws::Utils::DateTime>
111 template<
typename ModifiedAtT = Aws::Utils::DateTime>
112 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
113 template<
typename ModifiedAtT = Aws::Utils::DateTime>
144 template<
typename ComputeNodeGroupConfigurationsT = Aws::Vector<ComputeNodeGroupConfiguration>>
145 void SetComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT&& value) { m_computeNodeGroupConfigurationsHasBeenSet =
true; m_computeNodeGroupConfigurations = std::forward<ComputeNodeGroupConfigurationsT>(value); }
146 template<
typename ComputeNodeGroupConfigurationsT = Aws::Vector<ComputeNodeGroupConfiguration>>
148 template<
typename ComputeNodeGroupConfigurationsT = ComputeNodeGroupConfiguration>
149 Queue&
AddComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT&& value) { m_computeNodeGroupConfigurationsHasBeenSet =
true; m_computeNodeGroupConfigurations.emplace_back(std::forward<ComputeNodeGroupConfigurationsT>(value));
return *
this; }
158 template<
typename ErrorInfoT = Aws::Vector<ErrorInfo>>
159 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet =
true; m_errorInfo = std::forward<ErrorInfoT>(value); }
160 template<
typename ErrorInfoT = Aws::Vector<ErrorInfo>>
162 template<
typename ErrorInfoT = ErrorInfo>
163 Queue&
AddErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet =
true; m_errorInfo.emplace_back(std::forward<ErrorInfoT>(value));
return *
this; }
168 bool m_nameHasBeenSet =
false;
171 bool m_idHasBeenSet =
false;
174 bool m_arnHasBeenSet =
false;
177 bool m_clusterIdHasBeenSet =
false;
180 bool m_createdAtHasBeenSet =
false;
183 bool m_modifiedAtHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_computeNodeGroupConfigurationsHasBeenSet =
false;
192 bool m_errorInfoHasBeenSet =
false;
bool ModifiedAtHasBeenSet() const
const Aws::Vector< ErrorInfo > & GetErrorInfo() const
Queue & AddErrorInfo(ErrorInfoT &&value)
Queue & WithErrorInfo(ErrorInfoT &&value)
const Aws::String & GetArn() const
AWS_PCS_API Queue(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
void SetArn(ArnT &&value)
AWS_PCS_API Queue()=default
bool CreatedAtHasBeenSet() const
const Aws::Vector< ComputeNodeGroupConfiguration > & GetComputeNodeGroupConfigurations() const
void SetErrorInfo(ErrorInfoT &&value)
bool ClusterIdHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedAt() const
Queue & WithStatus(QueueStatus value)
Queue & WithComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
void SetClusterId(ClusterIdT &&value)
bool ArnHasBeenSet() const
void SetModifiedAt(ModifiedAtT &&value)
bool NameHasBeenSet() const
Queue & AddComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
void SetCreatedAt(CreatedAtT &&value)
Queue & WithClusterId(ClusterIdT &&value)
QueueStatus GetStatus() const
Queue & WithCreatedAt(CreatedAtT &&value)
AWS_PCS_API Queue & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorInfoHasBeenSet() const
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
Queue & WithName(NameT &&value)
Queue & WithArn(ArnT &&value)
void SetName(NameT &&value)
Queue & WithId(IdT &&value)
bool ComputeNodeGroupConfigurationsHasBeenSet() const
const Aws::String & GetId() const
bool IdHasBeenSet() const
Queue & WithModifiedAt(ModifiedAtT &&value)
void SetStatus(QueueStatus value)
const Aws::String & GetClusterId() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue