AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetQAppRequest.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
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QApps {
18namespace Model {
19
23 public:
24 AWS_QAPPS_API GetQAppRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetQApp"; }
31
32 AWS_QAPPS_API Aws::String SerializePayload() const override;
33
34 AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
39
43 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 template <typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) {
47 m_instanceIdHasBeenSet = true;
48 m_instanceId = std::forward<InstanceIdT>(value);
49 }
50 template <typename InstanceIdT = Aws::String>
52 SetInstanceId(std::forward<InstanceIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetAppId() const { return m_appId; }
62 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
63 template <typename AppIdT = Aws::String>
64 void SetAppId(AppIdT&& value) {
65 m_appIdHasBeenSet = true;
66 m_appId = std::forward<AppIdT>(value);
67 }
68 template <typename AppIdT = Aws::String>
70 SetAppId(std::forward<AppIdT>(value));
71 return *this;
72 }
74
76
79 inline int GetAppVersion() const { return m_appVersion; }
80 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
81 inline void SetAppVersion(int value) {
82 m_appVersionHasBeenSet = true;
83 m_appVersion = value;
84 }
85 inline GetQAppRequest& WithAppVersion(int value) {
86 SetAppVersion(value);
87 return *this;
88 }
90 private:
91 Aws::String m_instanceId;
92
93 Aws::String m_appId;
94
95 int m_appVersion{0};
96 bool m_instanceIdHasBeenSet = false;
97 bool m_appIdHasBeenSet = false;
98 bool m_appVersionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QApps
103} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_QAPPS_API GetQAppRequest()=default
AWS_QAPPS_API Aws::String SerializePayload() const override
AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetInstanceId() const
void SetInstanceId(InstanceIdT &&value)
GetQAppRequest & WithAppId(AppIdT &&value)
GetQAppRequest & WithAppVersion(int value)
const Aws::String & GetAppId() const
GetQAppRequest & WithInstanceId(InstanceIdT &&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