AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
45 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
46 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
47 inline DeleteClusterRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
48 inline DeleteClusterRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
49 inline DeleteClusterRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
51
53
62 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
63 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
64 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
65 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
66 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
67 inline DeleteClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
68 inline DeleteClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
69 inline DeleteClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
71 private:
72
73 Aws::String m_clusterIdentifier;
74 bool m_clusterIdentifierHasBeenSet = false;
75
76 Aws::String m_clientToken;
77 bool m_clientTokenHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace PCS
82} // namespace Aws
DeleteClusterRequest & WithClusterIdentifier(const char *value)
DeleteClusterRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetClusterIdentifier(const Aws::String &value)
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteClusterRequest & WithClusterIdentifier(const Aws::String &value)
const Aws::String & GetClusterIdentifier() const
const Aws::String & GetClientToken() const
AWS_PCS_API Aws::String SerializePayload() const override
DeleteClusterRequest & WithClusterIdentifier(Aws::String &&value)
DeleteClusterRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteClusterRequest & WithClientToken(Aws::String &&value)
void SetClusterIdentifier(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String