AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictQAppRequest.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 <aws/qapps/model/PredictQAppInputOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QApps
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QAPPS_API PredictQAppRequest();
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 "PredictQApp"; }
32
33 AWS_QAPPS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline PredictQAppRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline PredictQAppRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline PredictQAppRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
58 inline const PredictQAppInputOptions& GetOptions() const{ return m_options; }
59 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
60 inline void SetOptions(const PredictQAppInputOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
61 inline void SetOptions(PredictQAppInputOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
62 inline PredictQAppRequest& WithOptions(const PredictQAppInputOptions& value) { SetOptions(value); return *this;}
63 inline PredictQAppRequest& WithOptions(PredictQAppInputOptions&& value) { SetOptions(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_instanceId;
68 bool m_instanceIdHasBeenSet = false;
69
71 bool m_optionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QApps
76} // namespace Aws
virtual const char * GetServiceRequestName() const override
const PredictQAppInputOptions & GetOptions() const
PredictQAppRequest & WithInstanceId(Aws::String &&value)
PredictQAppRequest & WithOptions(const PredictQAppInputOptions &value)
const Aws::String & GetInstanceId() const
void SetOptions(PredictQAppInputOptions &&value)
PredictQAppRequest & WithInstanceId(const char *value)
PredictQAppRequest & WithOptions(PredictQAppInputOptions &&value)
void SetOptions(const PredictQAppInputOptions &value)
void SetInstanceId(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
AWS_QAPPS_API Aws::String SerializePayload() const override
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PredictQAppRequest & WithInstanceId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String