AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteQueueRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace PCS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PCS_API DeleteQueueRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteQueue"; }
32
33 AWS_PCS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
43 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
44 template<typename ClusterIdentifierT = Aws::String>
45 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
46 template<typename ClusterIdentifierT = Aws::String>
47 DeleteQueueRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
49
51
54 inline const Aws::String& GetQueueIdentifier() const { return m_queueIdentifier; }
55 inline bool QueueIdentifierHasBeenSet() const { return m_queueIdentifierHasBeenSet; }
56 template<typename QueueIdentifierT = Aws::String>
57 void SetQueueIdentifier(QueueIdentifierT&& value) { m_queueIdentifierHasBeenSet = true; m_queueIdentifier = std::forward<QueueIdentifierT>(value); }
58 template<typename QueueIdentifierT = Aws::String>
59 DeleteQueueRequest& WithQueueIdentifier(QueueIdentifierT&& value) { SetQueueIdentifier(std::forward<QueueIdentifierT>(value)); return *this;}
61
63
72 inline const Aws::String& GetClientToken() const { return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 template<typename ClientTokenT = Aws::String>
75 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
76 template<typename ClientTokenT = Aws::String>
77 DeleteQueueRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
79 private:
80
81 Aws::String m_clusterIdentifier;
82 bool m_clusterIdentifierHasBeenSet = false;
83
84 Aws::String m_queueIdentifier;
85 bool m_queueIdentifierHasBeenSet = false;
86
88 bool m_clientTokenHasBeenSet = true;
89 };
90
91} // namespace Model
92} // namespace PCS
93} // 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