AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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
46 inline const Aws::String& GetIdentifier() const { return m_identifier; }
47 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
48 template<typename IdentifierT = Aws::String>
49 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
50 template<typename IdentifierT = Aws::String>
51 UpdateStreamGroupRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
53
55
59 inline const Aws::Vector<LocationConfiguration>& GetLocationConfigurations() const { return m_locationConfigurations; }
60 inline bool LocationConfigurationsHasBeenSet() const { return m_locationConfigurationsHasBeenSet; }
61 template<typename LocationConfigurationsT = Aws::Vector<LocationConfiguration>>
62 void SetLocationConfigurations(LocationConfigurationsT&& value) { m_locationConfigurationsHasBeenSet = true; m_locationConfigurations = std::forward<LocationConfigurationsT>(value); }
63 template<typename LocationConfigurationsT = Aws::Vector<LocationConfiguration>>
64 UpdateStreamGroupRequest& WithLocationConfigurations(LocationConfigurationsT&& value) { SetLocationConfigurations(std::forward<LocationConfigurationsT>(value)); return *this;}
65 template<typename LocationConfigurationsT = LocationConfiguration>
66 UpdateStreamGroupRequest& AddLocationConfigurations(LocationConfigurationsT&& value) { m_locationConfigurationsHasBeenSet = true; m_locationConfigurations.emplace_back(std::forward<LocationConfigurationsT>(value)); return *this; }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 UpdateStreamGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
100 inline const Aws::String& GetDefaultApplicationIdentifier() const { return m_defaultApplicationIdentifier; }
101 inline bool DefaultApplicationIdentifierHasBeenSet() const { return m_defaultApplicationIdentifierHasBeenSet; }
102 template<typename DefaultApplicationIdentifierT = Aws::String>
103 void SetDefaultApplicationIdentifier(DefaultApplicationIdentifierT&& value) { m_defaultApplicationIdentifierHasBeenSet = true; m_defaultApplicationIdentifier = std::forward<DefaultApplicationIdentifierT>(value); }
104 template<typename DefaultApplicationIdentifierT = Aws::String>
105 UpdateStreamGroupRequest& WithDefaultApplicationIdentifier(DefaultApplicationIdentifierT&& value) { SetDefaultApplicationIdentifier(std::forward<DefaultApplicationIdentifierT>(value)); return *this;}
107 private:
108
109 Aws::String m_identifier;
110 bool m_identifierHasBeenSet = false;
111
112 Aws::Vector<LocationConfiguration> m_locationConfigurations;
113 bool m_locationConfigurationsHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::String m_defaultApplicationIdentifier;
119 bool m_defaultApplicationIdentifierHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace GameLiftStreams
124} // 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 & WithDefaultApplicationIdentifier(DefaultApplicationIdentifierT &&value)
void SetDefaultApplicationIdentifier(DefaultApplicationIdentifierT &&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