AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RemoveStreamGroupLocationsRequest.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/gameliftstreams/GameLiftStreamsRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace GameLiftStreams
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_GAMELIFTSTREAMS_API RemoveStreamGroupLocationsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "RemoveStreamGroupLocations"; }
36
37 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
38
39 AWS_GAMELIFTSTREAMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
52 inline const Aws::String& GetIdentifier() const { return m_identifier; }
53 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
54 template<typename IdentifierT = Aws::String>
55 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
56 template<typename IdentifierT = Aws::String>
57 RemoveStreamGroupLocationsRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
59
61
69 inline const Aws::Vector<Aws::String>& GetLocations() const { return m_locations; }
70 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
71 template<typename LocationsT = Aws::Vector<Aws::String>>
72 void SetLocations(LocationsT&& value) { m_locationsHasBeenSet = true; m_locations = std::forward<LocationsT>(value); }
73 template<typename LocationsT = Aws::Vector<Aws::String>>
74 RemoveStreamGroupLocationsRequest& WithLocations(LocationsT&& value) { SetLocations(std::forward<LocationsT>(value)); return *this;}
75 template<typename LocationsT = Aws::String>
76 RemoveStreamGroupLocationsRequest& AddLocations(LocationsT&& value) { m_locationsHasBeenSet = true; m_locations.emplace_back(std::forward<LocationsT>(value)); return *this; }
78 private:
79
80 Aws::String m_identifier;
81 bool m_identifierHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_locations;
84 bool m_locationsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace GameLiftStreams
89} // namespace Aws
RemoveStreamGroupLocationsRequest & AddLocations(LocationsT &&value)
RemoveStreamGroupLocationsRequest & WithLocations(LocationsT &&value)
RemoveStreamGroupLocationsRequest & WithIdentifier(IdentifierT &&value)
AWS_GAMELIFTSTREAMS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_GAMELIFTSTREAMS_API RemoveStreamGroupLocationsRequest()=default
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector