AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateStreamGroupRequest.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 <aws/gameliftstreams/model/LocationConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GameLiftStreams
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GAMELIFTSTREAMS_API UpdateStreamGroupRequest() = default;
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 "UpdateStreamGroup"; }
33
34 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 UpdateStreamGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
58 inline const Aws::String& GetIdentifier() const { return m_identifier; }
59 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
60 template<typename IdentifierT = Aws::String>
61 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
62 template<typename IdentifierT = Aws::String>
63 UpdateStreamGroupRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
65
67
71 inline const Aws::Vector<LocationConfiguration>& GetLocationConfigurations() const { return m_locationConfigurations; }
72 inline bool LocationConfigurationsHasBeenSet() const { return m_locationConfigurationsHasBeenSet; }
73 template<typename LocationConfigurationsT = Aws::Vector<LocationConfiguration>>
74 void SetLocationConfigurations(LocationConfigurationsT&& value) { m_locationConfigurationsHasBeenSet = true; m_locationConfigurations = std::forward<LocationConfigurationsT>(value); }
75 template<typename LocationConfigurationsT = Aws::Vector<LocationConfiguration>>
76 UpdateStreamGroupRequest& WithLocationConfigurations(LocationConfigurationsT&& value) { SetLocationConfigurations(std::forward<LocationConfigurationsT>(value)); return *this;}
77 template<typename LocationConfigurationsT = LocationConfiguration>
78 UpdateStreamGroupRequest& AddLocationConfigurations(LocationConfigurationsT&& value) { m_locationConfigurationsHasBeenSet = true; m_locationConfigurations.emplace_back(std::forward<LocationConfigurationsT>(value)); return *this; }
80 private:
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84
85 Aws::String m_identifier;
86 bool m_identifierHasBeenSet = false;
87
88 Aws::Vector<LocationConfiguration> m_locationConfigurations;
89 bool m_locationConfigurationsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace GameLiftStreams
94} // namespace Aws
UpdateStreamGroupRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< LocationConfiguration > & GetLocationConfigurations() const
virtual const char * GetServiceRequestName() const override
void SetLocationConfigurations(LocationConfigurationsT &&value)
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
UpdateStreamGroupRequest & AddLocationConfigurations(LocationConfigurationsT &&value)
UpdateStreamGroupRequest & WithIdentifier(IdentifierT &&value)
UpdateStreamGroupRequest & WithLocationConfigurations(LocationConfigurationsT &&value)
AWS_GAMELIFTSTREAMS_API UpdateStreamGroupRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector