AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopFleetActionsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/gamelift/model/FleetAction.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GameLift
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GAMELIFT_API StopFleetActionsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StopFleetActions"; }
33
34 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
46 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
47 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
48 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
49 inline StopFleetActionsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
50 inline StopFleetActionsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
51 inline StopFleetActionsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
53
55
58 inline const Aws::Vector<FleetAction>& GetActions() const{ return m_actions; }
59 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
60 inline void SetActions(const Aws::Vector<FleetAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
61 inline void SetActions(Aws::Vector<FleetAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
62 inline StopFleetActionsRequest& WithActions(const Aws::Vector<FleetAction>& value) { SetActions(value); return *this;}
63 inline StopFleetActionsRequest& WithActions(Aws::Vector<FleetAction>&& value) { SetActions(std::move(value)); return *this;}
64 inline StopFleetActionsRequest& AddActions(const FleetAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
65 inline StopFleetActionsRequest& AddActions(FleetAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
67
69
73 inline const Aws::String& GetLocation() const{ return m_location; }
74 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
75 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
76 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
77 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
78 inline StopFleetActionsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
79 inline StopFleetActionsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
80 inline StopFleetActionsRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
82 private:
83
84 Aws::String m_fleetId;
85 bool m_fleetIdHasBeenSet = false;
86
88 bool m_actionsHasBeenSet = false;
89
90 Aws::String m_location;
91 bool m_locationHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace GameLift
96} // namespace Aws
StopFleetActionsRequest & WithFleetId(Aws::String &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
const Aws::Vector< FleetAction > & GetActions() const
StopFleetActionsRequest & WithFleetId(const char *value)
void SetActions(const Aws::Vector< FleetAction > &value)
void SetActions(Aws::Vector< FleetAction > &&value)
StopFleetActionsRequest & AddActions(FleetAction &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StopFleetActionsRequest & AddActions(const FleetAction &value)
StopFleetActionsRequest & WithLocation(Aws::String &&value)
StopFleetActionsRequest & WithLocation(const Aws::String &value)
StopFleetActionsRequest & WithActions(const Aws::Vector< FleetAction > &value)
StopFleetActionsRequest & WithActions(Aws::Vector< FleetAction > &&value)
StopFleetActionsRequest & WithLocation(const char *value)
StopFleetActionsRequest & WithFleetId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector