AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateQAppRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/qapps/QApps_EXPORTS.h>
10#include <aws/qapps/model/AppDefinitionInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QApps {
16namespace Model {
17
21 public:
22 AWS_QAPPS_API UpdateQAppRequest() = 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 "UpdateQApp"; }
29
30 AWS_QAPPS_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 template <typename InstanceIdT = Aws::String>
42 void SetInstanceId(InstanceIdT&& value) {
43 m_instanceIdHasBeenSet = true;
44 m_instanceId = std::forward<InstanceIdT>(value);
45 }
46 template <typename InstanceIdT = Aws::String>
48 SetInstanceId(std::forward<InstanceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAppId() const { return m_appId; }
58 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
59 template <typename AppIdT = Aws::String>
60 void SetAppId(AppIdT&& value) {
61 m_appIdHasBeenSet = true;
62 m_appId = std::forward<AppIdT>(value);
63 }
64 template <typename AppIdT = Aws::String>
66 SetAppId(std::forward<AppIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTitle() const { return m_title; }
76 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
77 template <typename TitleT = Aws::String>
78 void SetTitle(TitleT&& value) {
79 m_titleHasBeenSet = true;
80 m_title = std::forward<TitleT>(value);
81 }
82 template <typename TitleT = Aws::String>
84 SetTitle(std::forward<TitleT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const AppDefinitionInput& GetAppDefinition() const { return m_appDefinition; }
112 inline bool AppDefinitionHasBeenSet() const { return m_appDefinitionHasBeenSet; }
113 template <typename AppDefinitionT = AppDefinitionInput>
115 m_appDefinitionHasBeenSet = true;
116 m_appDefinition = std::forward<AppDefinitionT>(value);
117 }
118 template <typename AppDefinitionT = AppDefinitionInput>
120 SetAppDefinition(std::forward<AppDefinitionT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_instanceId;
126
127 Aws::String m_appId;
128
129 Aws::String m_title;
130
131 Aws::String m_description;
132
133 AppDefinitionInput m_appDefinition;
134 bool m_instanceIdHasBeenSet = false;
135 bool m_appIdHasBeenSet = false;
136 bool m_titleHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138 bool m_appDefinitionHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace QApps
143} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
const Aws::String & GetAppId() const
const Aws::String & GetTitle() const
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateQAppRequest & WithInstanceId(InstanceIdT &&value)
void SetInstanceId(InstanceIdT &&value)
UpdateQAppRequest & WithAppDefinition(AppDefinitionT &&value)
UpdateQAppRequest & WithDescription(DescriptionT &&value)
const AppDefinitionInput & GetAppDefinition() const
AWS_QAPPS_API UpdateQAppRequest()=default
const Aws::String & GetInstanceId() const
UpdateQAppRequest & WithAppId(AppIdT &&value)
AWS_QAPPS_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
UpdateQAppRequest & WithTitle(TitleT &&value)
void SetAppDefinition(AppDefinitionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String