AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFleetLocationsRequest.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 <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API DeleteFleetLocationsRequest();
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 "DeleteFleetLocations"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
44 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
45 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
46 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
47 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
48 inline DeleteFleetLocationsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
49 inline DeleteFleetLocationsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
50 inline DeleteFleetLocationsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
52
54
58 inline const Aws::Vector<Aws::String>& GetLocations() const{ return m_locations; }
59 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
60 inline void SetLocations(const Aws::Vector<Aws::String>& value) { m_locationsHasBeenSet = true; m_locations = value; }
61 inline void SetLocations(Aws::Vector<Aws::String>&& value) { m_locationsHasBeenSet = true; m_locations = std::move(value); }
63 inline DeleteFleetLocationsRequest& WithLocations(Aws::Vector<Aws::String>&& value) { SetLocations(std::move(value)); return *this;}
64 inline DeleteFleetLocationsRequest& AddLocations(const Aws::String& value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
65 inline DeleteFleetLocationsRequest& AddLocations(Aws::String&& value) { m_locationsHasBeenSet = true; m_locations.push_back(std::move(value)); return *this; }
66 inline DeleteFleetLocationsRequest& AddLocations(const char* value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
68 private:
69
70 Aws::String m_fleetId;
71 bool m_fleetIdHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_locations;
74 bool m_locationsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GameLift
79} // namespace Aws
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DeleteFleetLocationsRequest & WithLocations(Aws::Vector< Aws::String > &&value)
DeleteFleetLocationsRequest & AddLocations(const Aws::String &value)
DeleteFleetLocationsRequest & WithFleetId(const Aws::String &value)
DeleteFleetLocationsRequest & AddLocations(const char *value)
void SetLocations(Aws::Vector< Aws::String > &&value)
void SetLocations(const Aws::Vector< Aws::String > &value)
DeleteFleetLocationsRequest & WithFleetId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetLocations() const
DeleteFleetLocationsRequest & AddLocations(Aws::String &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteFleetLocationsRequest & WithLocations(const Aws::Vector< Aws::String > &value)
DeleteFleetLocationsRequest & WithFleetId(const char *value)
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