AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateApplicationRequest.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 <utility>
12
13namespace Aws
14{
15namespace GameLiftStreams
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFTSTREAMS_API UpdateApplicationRequest() = 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 "UpdateApplication"; }
32
33 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
34
35
37
47 inline const Aws::String& GetApplicationLogOutputUri() const { return m_applicationLogOutputUri; }
48 inline bool ApplicationLogOutputUriHasBeenSet() const { return m_applicationLogOutputUriHasBeenSet; }
49 template<typename ApplicationLogOutputUriT = Aws::String>
50 void SetApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { m_applicationLogOutputUriHasBeenSet = true; m_applicationLogOutputUri = std::forward<ApplicationLogOutputUriT>(value); }
51 template<typename ApplicationLogOutputUriT = Aws::String>
52 UpdateApplicationRequest& WithApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { SetApplicationLogOutputUri(std::forward<ApplicationLogOutputUriT>(value)); return *this;}
54
56
66 inline const Aws::Vector<Aws::String>& GetApplicationLogPaths() const { return m_applicationLogPaths; }
67 inline bool ApplicationLogPathsHasBeenSet() const { return m_applicationLogPathsHasBeenSet; }
68 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
69 void SetApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths = std::forward<ApplicationLogPathsT>(value); }
70 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
71 UpdateApplicationRequest& WithApplicationLogPaths(ApplicationLogPathsT&& value) { SetApplicationLogPaths(std::forward<ApplicationLogPathsT>(value)); return *this;}
72 template<typename ApplicationLogPathsT = Aws::String>
73 UpdateApplicationRequest& AddApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths.emplace_back(std::forward<ApplicationLogPathsT>(value)); return *this; }
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template<typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
84 template<typename DescriptionT = Aws::String>
85 UpdateApplicationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
87
89
97 inline const Aws::String& GetIdentifier() const { return m_identifier; }
98 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
99 template<typename IdentifierT = Aws::String>
100 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
101 template<typename IdentifierT = Aws::String>
102 UpdateApplicationRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
104 private:
105
106 Aws::String m_applicationLogOutputUri;
107 bool m_applicationLogOutputUriHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_applicationLogPaths;
110 bool m_applicationLogPathsHasBeenSet = false;
111
112 Aws::String m_description;
113 bool m_descriptionHasBeenSet = false;
114
115 Aws::String m_identifier;
116 bool m_identifierHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace GameLiftStreams
121} // 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