AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateQueueFleetAssociationRequest.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 <aws/deadline/model/UpdateQueueFleetAssociationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace deadline
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateQueueFleetAssociation"; }
32
33 AWS_DEADLINE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetFarmId() const{ return m_farmId; }
41 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
42 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
43 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
44 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
45 inline UpdateQueueFleetAssociationRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
46 inline UpdateQueueFleetAssociationRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
47 inline UpdateQueueFleetAssociationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
49
51
54 inline const Aws::String& GetQueueId() const{ return m_queueId; }
55 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
56 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
57 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
58 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
59 inline UpdateQueueFleetAssociationRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
60 inline UpdateQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
61 inline UpdateQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
63
65
68 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
69 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
70 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
71 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
72 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
73 inline UpdateQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
74 inline UpdateQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
75 inline UpdateQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
77
79
82 inline const UpdateQueueFleetAssociationStatus& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const UpdateQueueFleetAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(UpdateQueueFleetAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
89 private:
90
91 Aws::String m_farmId;
92 bool m_farmIdHasBeenSet = false;
93
94 Aws::String m_queueId;
95 bool m_queueIdHasBeenSet = false;
96
97 Aws::String m_fleetId;
98 bool m_fleetIdHasBeenSet = false;
99
101 bool m_statusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace deadline
106} // namespace Aws
UpdateQueueFleetAssociationRequest & WithFleetId(Aws::String &&value)
UpdateQueueFleetAssociationRequest & WithFarmId(Aws::String &&value)
UpdateQueueFleetAssociationRequest & WithFarmId(const char *value)
UpdateQueueFleetAssociationRequest & WithQueueId(const char *value)
UpdateQueueFleetAssociationRequest & WithQueueId(Aws::String &&value)
UpdateQueueFleetAssociationRequest & WithQueueId(const Aws::String &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateQueueFleetAssociationRequest & WithFleetId(const char *value)
void SetStatus(const UpdateQueueFleetAssociationStatus &value)
UpdateQueueFleetAssociationRequest & WithFleetId(const Aws::String &value)
UpdateQueueFleetAssociationRequest & WithStatus(UpdateQueueFleetAssociationStatus &&value)
UpdateQueueFleetAssociationRequest & WithStatus(const UpdateQueueFleetAssociationStatus &value)
UpdateQueueFleetAssociationRequest & WithFarmId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String