AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateApplicationRequest.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 GameLiftStreams {
16namespace Model {
17
21 public:
22 AWS_GAMELIFTSTREAMS_API UpdateApplicationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
29
30 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
31
33
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 template <typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) {
45 m_identifierHasBeenSet = true;
46 m_identifier = std::forward<IdentifierT>(value);
47 }
48 template <typename IdentifierT = Aws::String>
50 SetIdentifier(std::forward<IdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
84 inline const Aws::Vector<Aws::String>& GetApplicationLogPaths() const { return m_applicationLogPaths; }
85 inline bool ApplicationLogPathsHasBeenSet() const { return m_applicationLogPathsHasBeenSet; }
86 template <typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
87 void SetApplicationLogPaths(ApplicationLogPathsT&& value) {
88 m_applicationLogPathsHasBeenSet = true;
89 m_applicationLogPaths = std::forward<ApplicationLogPathsT>(value);
90 }
91 template <typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
92 UpdateApplicationRequest& WithApplicationLogPaths(ApplicationLogPathsT&& value) {
93 SetApplicationLogPaths(std::forward<ApplicationLogPathsT>(value));
94 return *this;
95 }
96 template <typename ApplicationLogPathsT = Aws::String>
97 UpdateApplicationRequest& AddApplicationLogPaths(ApplicationLogPathsT&& value) {
98 m_applicationLogPathsHasBeenSet = true;
99 m_applicationLogPaths.emplace_back(std::forward<ApplicationLogPathsT>(value));
100 return *this;
101 }
103
105
115 inline const Aws::String& GetApplicationLogOutputUri() const { return m_applicationLogOutputUri; }
116 inline bool ApplicationLogOutputUriHasBeenSet() const { return m_applicationLogOutputUriHasBeenSet; }
117 template <typename ApplicationLogOutputUriT = Aws::String>
118 void SetApplicationLogOutputUri(ApplicationLogOutputUriT&& value) {
119 m_applicationLogOutputUriHasBeenSet = true;
120 m_applicationLogOutputUri = std::forward<ApplicationLogOutputUriT>(value);
121 }
122 template <typename ApplicationLogOutputUriT = Aws::String>
123 UpdateApplicationRequest& WithApplicationLogOutputUri(ApplicationLogOutputUriT&& value) {
124 SetApplicationLogOutputUri(std::forward<ApplicationLogOutputUriT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_identifier;
130
131 Aws::String m_description;
132
133 Aws::Vector<Aws::String> m_applicationLogPaths;
134
135 Aws::String m_applicationLogOutputUri;
136 bool m_identifierHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138 bool m_applicationLogPathsHasBeenSet = false;
139 bool m_applicationLogOutputUriHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace GameLiftStreams
144} // namespace Aws
UpdateApplicationRequest & WithApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
UpdateApplicationRequest & AddApplicationLogPaths(ApplicationLogPathsT &&value)
void SetApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
AWS_GAMELIFTSTREAMS_API UpdateApplicationRequest()=default
const Aws::Vector< Aws::String > & GetApplicationLogPaths() const
UpdateApplicationRequest & WithApplicationLogPaths(ApplicationLogPathsT &&value)
UpdateApplicationRequest & WithDescription(DescriptionT &&value)
UpdateApplicationRequest & WithIdentifier(IdentifierT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector