AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateApplicationRequest.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/RuntimeEnvironment.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace GameLiftStreams
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_GAMELIFTSTREAMS_API CreateApplicationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateApplication"; }
35
36 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
37
38
40
50 inline const Aws::String& GetApplicationLogOutputUri() const { return m_applicationLogOutputUri; }
51 inline bool ApplicationLogOutputUriHasBeenSet() const { return m_applicationLogOutputUriHasBeenSet; }
52 template<typename ApplicationLogOutputUriT = Aws::String>
53 void SetApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { m_applicationLogOutputUriHasBeenSet = true; m_applicationLogOutputUri = std::forward<ApplicationLogOutputUriT>(value); }
54 template<typename ApplicationLogOutputUriT = Aws::String>
55 CreateApplicationRequest& WithApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { SetApplicationLogOutputUri(std::forward<ApplicationLogOutputUriT>(value)); return *this;}
57
59
69 inline const Aws::Vector<Aws::String>& GetApplicationLogPaths() const { return m_applicationLogPaths; }
70 inline bool ApplicationLogPathsHasBeenSet() const { return m_applicationLogPathsHasBeenSet; }
71 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
72 void SetApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths = std::forward<ApplicationLogPathsT>(value); }
73 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
74 CreateApplicationRequest& WithApplicationLogPaths(ApplicationLogPathsT&& value) { SetApplicationLogPaths(std::forward<ApplicationLogPathsT>(value)); return *this;}
75 template<typename ApplicationLogPathsT = Aws::String>
76 CreateApplicationRequest& AddApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths.emplace_back(std::forward<ApplicationLogPathsT>(value)); return *this; }
78
80
90 inline const Aws::String& GetApplicationSourceUri() const { return m_applicationSourceUri; }
91 inline bool ApplicationSourceUriHasBeenSet() const { return m_applicationSourceUriHasBeenSet; }
92 template<typename ApplicationSourceUriT = Aws::String>
93 void SetApplicationSourceUri(ApplicationSourceUriT&& value) { m_applicationSourceUriHasBeenSet = true; m_applicationSourceUri = std::forward<ApplicationSourceUriT>(value); }
94 template<typename ApplicationSourceUriT = Aws::String>
95 CreateApplicationRequest& WithApplicationSourceUri(ApplicationSourceUriT&& value) { SetApplicationSourceUri(std::forward<ApplicationSourceUriT>(value)); return *this;}
97
99
104 inline const Aws::String& GetClientToken() const { return m_clientToken; }
105 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
106 template<typename ClientTokenT = Aws::String>
107 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
108 template<typename ClientTokenT = Aws::String>
109 CreateApplicationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
111
113
117 inline const Aws::String& GetDescription() const { return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 template<typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
121 template<typename DescriptionT = Aws::String>
122 CreateApplicationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
124
126
131 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
132 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
133 template<typename ExecutablePathT = Aws::String>
134 void SetExecutablePath(ExecutablePathT&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::forward<ExecutablePathT>(value); }
135 template<typename ExecutablePathT = Aws::String>
136 CreateApplicationRequest& WithExecutablePath(ExecutablePathT&& value) { SetExecutablePath(std::forward<ExecutablePathT>(value)); return *this;}
138
140
151 inline const RuntimeEnvironment& GetRuntimeEnvironment() const { return m_runtimeEnvironment; }
152 inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; }
153 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
154 void SetRuntimeEnvironment(RuntimeEnvironmentT&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::forward<RuntimeEnvironmentT>(value); }
155 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
156 CreateApplicationRequest& WithRuntimeEnvironment(RuntimeEnvironmentT&& value) { SetRuntimeEnvironment(std::forward<RuntimeEnvironmentT>(value)); return *this;}
158
160
174 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
175 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
176 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
178 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 CreateApplicationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
180 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
181 CreateApplicationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
182 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
183 }
185 private:
186
187 Aws::String m_applicationLogOutputUri;
188 bool m_applicationLogOutputUriHasBeenSet = false;
189
190 Aws::Vector<Aws::String> m_applicationLogPaths;
191 bool m_applicationLogPathsHasBeenSet = false;
192
193 Aws::String m_applicationSourceUri;
194 bool m_applicationSourceUriHasBeenSet = false;
195
197 bool m_clientTokenHasBeenSet = true;
198
199 Aws::String m_description;
200 bool m_descriptionHasBeenSet = false;
201
202 Aws::String m_executablePath;
203 bool m_executablePathHasBeenSet = false;
204
205 RuntimeEnvironment m_runtimeEnvironment;
206 bool m_runtimeEnvironmentHasBeenSet = false;
207
209 bool m_tagsHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace GameLiftStreams
214} // namespace Aws
CreateApplicationRequest & WithExecutablePath(ExecutablePathT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
const Aws::Vector< Aws::String > & GetApplicationLogPaths() const
CreateApplicationRequest & WithApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
CreateApplicationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateApplicationRequest & WithRuntimeEnvironment(RuntimeEnvironmentT &&value)
CreateApplicationRequest & AddApplicationLogPaths(ApplicationLogPathsT &&value)
CreateApplicationRequest & WithClientToken(ClientTokenT &&value)
AWS_GAMELIFTSTREAMS_API CreateApplicationRequest()=default
CreateApplicationRequest & WithApplicationLogPaths(ApplicationLogPathsT &&value)
CreateApplicationRequest & WithDescription(DescriptionT &&value)
CreateApplicationRequest & WithApplicationSourceUri(ApplicationSourceUriT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector