AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RemoveStreamGroupLocationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
10#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace GameLiftStreams {
19namespace Model {
20
24 public:
25 AWS_GAMELIFTSTREAMS_API RemoveStreamGroupLocationsRequest() = default;
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 "RemoveStreamGroupLocations"; }
32
33 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
34
35 AWS_GAMELIFTSTREAMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
47 inline const Aws::String& GetIdentifier() const { return m_identifier; }
48 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
49 template <typename IdentifierT = Aws::String>
50 void SetIdentifier(IdentifierT&& value) {
51 m_identifierHasBeenSet = true;
52 m_identifier = std::forward<IdentifierT>(value);
53 }
54 template <typename IdentifierT = Aws::String>
56 SetIdentifier(std::forward<IdentifierT>(value));
57 return *this;
58 }
60
62
70 inline const Aws::Vector<Aws::String>& GetLocations() const { return m_locations; }
71 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
72 template <typename LocationsT = Aws::Vector<Aws::String>>
73 void SetLocations(LocationsT&& value) {
74 m_locationsHasBeenSet = true;
75 m_locations = std::forward<LocationsT>(value);
76 }
77 template <typename LocationsT = Aws::Vector<Aws::String>>
79 SetLocations(std::forward<LocationsT>(value));
80 return *this;
81 }
82 template <typename LocationsT = Aws::String>
84 m_locationsHasBeenSet = true;
85 m_locations.emplace_back(std::forward<LocationsT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_identifier;
91
92 Aws::Vector<Aws::String> m_locations;
93 bool m_identifierHasBeenSet = false;
94 bool m_locationsHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace GameLiftStreams
99} // 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