AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DeleteQueueRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pcs/PCSRequest.h>
10#include <aws/pcs/PCS_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PCS {
16namespace Model {
17
21 public:
22 AWS_PCS_API DeleteQueueRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteQueue"; }
29
30 AWS_PCS_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
39 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
40 template <typename ClusterIdentifierT = Aws::String>
41 void SetClusterIdentifier(ClusterIdentifierT&& value) {
42 m_clusterIdentifierHasBeenSet = true;
43 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
44 }
45 template <typename ClusterIdentifierT = Aws::String>
46 DeleteQueueRequest& WithClusterIdentifier(ClusterIdentifierT&& value) {
47 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
48 return *this;
49 }
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) {
60 m_queueIdentifierHasBeenSet = true;
61 m_queueIdentifier = std::forward<QueueIdentifierT>(value);
62 }
63 template <typename QueueIdentifierT = Aws::String>
64 DeleteQueueRequest& WithQueueIdentifier(QueueIdentifierT&& value) {
65 SetQueueIdentifier(std::forward<QueueIdentifierT>(value));
66 return *this;
67 }
69
71
80 inline const Aws::String& GetClientToken() const { return m_clientToken; }
81 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
82 template <typename ClientTokenT = Aws::String>
83 void SetClientToken(ClientTokenT&& value) {
84 m_clientTokenHasBeenSet = true;
85 m_clientToken = std::forward<ClientTokenT>(value);
86 }
87 template <typename ClientTokenT = Aws::String>
88 DeleteQueueRequest& WithClientToken(ClientTokenT&& value) {
89 SetClientToken(std::forward<ClientTokenT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_clusterIdentifier;
95
96 Aws::String m_queueIdentifier;
97
99 bool m_clusterIdentifierHasBeenSet = false;
100 bool m_queueIdentifierHasBeenSet = false;
101 bool m_clientTokenHasBeenSet = true;
102};
103
104} // namespace Model
105} // namespace PCS
106} // namespace Aws
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClusterIdentifier(ClusterIdentifierT &&value)
AWS_PCS_API DeleteQueueRequest()=default
const Aws::String & GetQueueIdentifier() const
const Aws::String & GetClusterIdentifier() const
AWS_PCS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetQueueIdentifier(QueueIdentifierT &&value)
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
DeleteQueueRequest & WithClientToken(ClientTokenT &&value)
DeleteQueueRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
DeleteQueueRequest & WithQueueIdentifier(QueueIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String