AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteClusterRequest.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 DeleteClusterRequest() = 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 "DeleteCluster"; }
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 DeleteClusterRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
49
51
60 inline const Aws::String& GetClientToken() const { return m_clientToken; }
61 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
62 template<typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
64 template<typename ClientTokenT = Aws::String>
65 DeleteClusterRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
67 private:
68
69 Aws::String m_clusterIdentifier;
70 bool m_clusterIdentifierHasBeenSet = false;
71
73 bool m_clientTokenHasBeenSet = true;
74 };
75
76} // namespace Model
77} // namespace PCS
78} // namespace Aws
DeleteClusterRequest & WithClientToken(ClientTokenT &&value)
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClusterIdentifier() const
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
DeleteClusterRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_PCS_API Aws::String SerializePayload() const override
AWS_PCS_API DeleteClusterRequest()=default
void SetClusterIdentifier(ClusterIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String