AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
47 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
48 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
49 inline UpdateQueueRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
50 inline UpdateQueueRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
51 inline UpdateQueueRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
53
55
58 inline const Aws::String& GetQueueIdentifier() const{ return m_queueIdentifier; }
59 inline bool QueueIdentifierHasBeenSet() const { return m_queueIdentifierHasBeenSet; }
60 inline void SetQueueIdentifier(const Aws::String& value) { m_queueIdentifierHasBeenSet = true; m_queueIdentifier = value; }
61 inline void SetQueueIdentifier(Aws::String&& value) { m_queueIdentifierHasBeenSet = true; m_queueIdentifier = std::move(value); }
62 inline void SetQueueIdentifier(const char* value) { m_queueIdentifierHasBeenSet = true; m_queueIdentifier.assign(value); }
63 inline UpdateQueueRequest& WithQueueIdentifier(const Aws::String& value) { SetQueueIdentifier(value); return *this;}
64 inline UpdateQueueRequest& WithQueueIdentifier(Aws::String&& value) { SetQueueIdentifier(std::move(value)); return *this;}
65 inline UpdateQueueRequest& WithQueueIdentifier(const char* value) { SetQueueIdentifier(value); return *this;}
67
69
73 inline const Aws::Vector<ComputeNodeGroupConfiguration>& GetComputeNodeGroupConfigurations() const{ return m_computeNodeGroupConfigurations; }
74 inline bool ComputeNodeGroupConfigurationsHasBeenSet() const { return m_computeNodeGroupConfigurationsHasBeenSet; }
75 inline void SetComputeNodeGroupConfigurations(const Aws::Vector<ComputeNodeGroupConfiguration>& value) { m_computeNodeGroupConfigurationsHasBeenSet = true; m_computeNodeGroupConfigurations = value; }
76 inline void SetComputeNodeGroupConfigurations(Aws::Vector<ComputeNodeGroupConfiguration>&& value) { m_computeNodeGroupConfigurationsHasBeenSet = true; m_computeNodeGroupConfigurations = std::move(value); }
79 inline UpdateQueueRequest& AddComputeNodeGroupConfigurations(const ComputeNodeGroupConfiguration& value) { m_computeNodeGroupConfigurationsHasBeenSet = true; m_computeNodeGroupConfigurations.push_back(value); return *this; }
80 inline UpdateQueueRequest& AddComputeNodeGroupConfigurations(ComputeNodeGroupConfiguration&& value) { m_computeNodeGroupConfigurationsHasBeenSet = true; m_computeNodeGroupConfigurations.push_back(std::move(value)); return *this; }
82
84
93 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
94 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
95 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
96 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
97 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
98 inline UpdateQueueRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
99 inline UpdateQueueRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
100 inline UpdateQueueRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
102 private:
103
104 Aws::String m_clusterIdentifier;
105 bool m_clusterIdentifierHasBeenSet = false;
106
107 Aws::String m_queueIdentifier;
108 bool m_queueIdentifierHasBeenSet = false;
109
110 Aws::Vector<ComputeNodeGroupConfiguration> m_computeNodeGroupConfigurations;
111 bool m_computeNodeGroupConfigurationsHasBeenSet = false;
112
113 Aws::String m_clientToken;
114 bool m_clientTokenHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace PCS
119} // namespace Aws
UpdateQueueRequest & WithClusterIdentifier(Aws::String &&value)
UpdateQueueRequest & AddComputeNodeGroupConfigurations(const ComputeNodeGroupConfiguration &value)
void SetQueueIdentifier(const char *value)
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetComputeNodeGroupConfigurations(const Aws::Vector< ComputeNodeGroupConfiguration > &value)
void SetComputeNodeGroupConfigurations(Aws::Vector< ComputeNodeGroupConfiguration > &&value)
UpdateQueueRequest & WithClientToken(Aws::String &&value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetClusterIdentifier() const
virtual const char * GetServiceRequestName() const override
UpdateQueueRequest & WithComputeNodeGroupConfigurations(Aws::Vector< ComputeNodeGroupConfiguration > &&value)
UpdateQueueRequest & WithQueueIdentifier(Aws::String &&value)
void SetClusterIdentifier(Aws::String &&value)
UpdateQueueRequest & WithQueueIdentifier(const Aws::String &value)
void SetQueueIdentifier(const Aws::String &value)
UpdateQueueRequest & WithClusterIdentifier(const char *value)
UpdateQueueRequest & WithClientToken(const char *value)
const Aws::String & GetQueueIdentifier() const
void SetClusterIdentifier(const char *value)
UpdateQueueRequest & WithQueueIdentifier(const char *value)
UpdateQueueRequest & WithClientToken(const Aws::String &value)
AWS_PCS_API Aws::String SerializePayload() const override
UpdateQueueRequest & WithClusterIdentifier(const Aws::String &value)
void SetClientToken(Aws::String &&value)
UpdateQueueRequest & WithComputeNodeGroupConfigurations(const Aws::Vector< ComputeNodeGroupConfiguration > &value)
void SetQueueIdentifier(Aws::String &&value)
UpdateQueueRequest & AddComputeNodeGroupConfigurations(ComputeNodeGroupConfiguration &&value)
const Aws::Vector< ComputeNodeGroupConfiguration > & GetComputeNodeGroupConfigurations() const
const Aws::String & GetClientToken() const
void SetClusterIdentifier(const Aws::String &value)
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