AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateQueueRequest.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/pcs/PCSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pcs/model/ComputeNodeGroupConfiguration.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace PCS
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_PCS_API UpdateQueueRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateQueue"; }
34
35 AWS_PCS_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
45 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
46 template<typename ClusterIdentifierT = Aws::String>
47 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
48 template<typename ClusterIdentifierT = Aws::String>
49 UpdateQueueRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
51
53
56 inline const Aws::String& GetQueueIdentifier() const { return m_queueIdentifier; }
57 inline bool QueueIdentifierHasBeenSet() const { return m_queueIdentifierHasBeenSet; }
58 template<typename QueueIdentifierT = Aws::String>
59 void SetQueueIdentifier(QueueIdentifierT&& value) { m_queueIdentifierHasBeenSet = true; m_queueIdentifier = std::forward<QueueIdentifierT>(value); }
60 template<typename QueueIdentifierT = Aws::String>
61 UpdateQueueRequest& WithQueueIdentifier(QueueIdentifierT&& value) { SetQueueIdentifier(std::forward<QueueIdentifierT>(value)); return *this;}
63
65
69 inline const Aws::Vector<ComputeNodeGroupConfiguration>& GetComputeNodeGroupConfigurations() const { return m_computeNodeGroupConfigurations; }
70 inline bool ComputeNodeGroupConfigurationsHasBeenSet() const { return m_computeNodeGroupConfigurationsHasBeenSet; }
71 template<typename ComputeNodeGroupConfigurationsT = Aws::Vector<ComputeNodeGroupConfiguration>>
72 void SetComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT&& value) { m_computeNodeGroupConfigurationsHasBeenSet = true; m_computeNodeGroupConfigurations = std::forward<ComputeNodeGroupConfigurationsT>(value); }
73 template<typename ComputeNodeGroupConfigurationsT = Aws::Vector<ComputeNodeGroupConfiguration>>
74 UpdateQueueRequest& WithComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT&& value) { SetComputeNodeGroupConfigurations(std::forward<ComputeNodeGroupConfigurationsT>(value)); return *this;}
75 template<typename ComputeNodeGroupConfigurationsT = ComputeNodeGroupConfiguration>
76 UpdateQueueRequest& AddComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT&& value) { m_computeNodeGroupConfigurationsHasBeenSet = true; m_computeNodeGroupConfigurations.emplace_back(std::forward<ComputeNodeGroupConfigurationsT>(value)); return *this; }
78
80
89 inline const Aws::String& GetClientToken() const { return m_clientToken; }
90 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
91 template<typename ClientTokenT = Aws::String>
92 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
93 template<typename ClientTokenT = Aws::String>
94 UpdateQueueRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
96 private:
97
98 Aws::String m_clusterIdentifier;
99 bool m_clusterIdentifierHasBeenSet = false;
100
101 Aws::String m_queueIdentifier;
102 bool m_queueIdentifierHasBeenSet = false;
103
104 Aws::Vector<ComputeNodeGroupConfiguration> m_computeNodeGroupConfigurations;
105 bool m_computeNodeGroupConfigurationsHasBeenSet = false;
106
108 bool m_clientTokenHasBeenSet = true;
109 };
110
111} // namespace Model
112} // namespace PCS
113} // namespace Aws
AWS_PCS_API UpdateQueueRequest()=default
void SetQueueIdentifier(QueueIdentifierT &&value)
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateQueueRequest & AddComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
UpdateQueueRequest & WithComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
const Aws::String & GetClusterIdentifier() const
virtual const char * GetServiceRequestName() const override
UpdateQueueRequest & WithClientToken(ClientTokenT &&value)
void SetComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetQueueIdentifier() const
UpdateQueueRequest & WithQueueIdentifier(QueueIdentifierT &&value)
UpdateQueueRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_PCS_API Aws::String SerializePayload() const override
void SetClusterIdentifier(ClusterIdentifierT &&value)
const Aws::Vector< ComputeNodeGroupConfiguration > & GetComputeNodeGroupConfigurations() const
const Aws::String & GetClientToken() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector