AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQAppRequest.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QApps
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QAPPS_API GetQAppRequest();
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 "GetQApp"; }
35
36 AWS_QAPPS_API Aws::String SerializePayload() const override;
37
38 AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
42
44
48 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline GetQAppRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline GetQAppRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline GetQAppRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
62 inline const Aws::String& GetAppId() const{ return m_appId; }
63 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
64 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
65 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
66 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
67 inline GetQAppRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
68 inline GetQAppRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
69 inline GetQAppRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
71 private:
72
73 Aws::String m_instanceId;
74 bool m_instanceIdHasBeenSet = false;
75
76 Aws::String m_appId;
77 bool m_appIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace QApps
82} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_QAPPS_API Aws::String SerializePayload() const override
GetQAppRequest & WithAppId(const char *value)
GetQAppRequest & WithAppId(const Aws::String &value)
AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetAppId(const Aws::String &value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetInstanceId() const
GetQAppRequest & WithInstanceId(const Aws::String &value)
void SetAppId(const char *value)
GetQAppRequest & WithAppId(Aws::String &&value)
GetQAppRequest & WithInstanceId(Aws::String &&value)
void SetAppId(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
const Aws::String & GetAppId() const
GetQAppRequest & WithInstanceId(const char *value)
void SetInstanceId(const Aws::String &value)
void SetInstanceId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String