AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFleetRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.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 deadline
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEADLINE_API DeleteFleetRequest();
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 "DeleteFleet"; }
32
33 AWS_DEADLINE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline DeleteFleetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline DeleteFleetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline DeleteFleetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
57 inline const Aws::String& GetFarmId() const{ return m_farmId; }
58 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
59 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
60 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
61 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
62 inline DeleteFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
63 inline DeleteFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
64 inline DeleteFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
66
68
71 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
72 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
73 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
74 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
75 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
76 inline DeleteFleetRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
77 inline DeleteFleetRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
78 inline DeleteFleetRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
80 private:
81
82 Aws::String m_clientToken;
83 bool m_clientTokenHasBeenSet = false;
84
85 Aws::String m_farmId;
86 bool m_farmIdHasBeenSet = false;
87
88 Aws::String m_fleetId;
89 bool m_fleetIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace deadline
94} // namespace Aws
DeleteFleetRequest & WithClientToken(const char *value)
DeleteFleetRequest & WithFleetId(const char *value)
DeleteFleetRequest & WithFleetId(Aws::String &&value)
DeleteFleetRequest & WithFarmId(const Aws::String &value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteFleetRequest & WithFarmId(const char *value)
DeleteFleetRequest & WithClientToken(Aws::String &&value)
DeleteFleetRequest & WithFleetId(const Aws::String &value)
DeleteFleetRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetClientToken() const
AWS_DEADLINE_API Aws::String SerializePayload() const override
void SetClientToken(const Aws::String &value)
DeleteFleetRequest & WithFarmId(Aws::String &&value)
void SetFarmId(const Aws::String &value)
void SetFleetId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String