AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PredictQAppRequest.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/PredictQAppInputOptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QApps {
16namespace Model {
17
21 public:
22 AWS_QAPPS_API PredictQAppRequest() = 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 "PredictQApp"; }
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
58 inline const PredictQAppInputOptions& GetOptions() const { return m_options; }
59 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
60 template <typename OptionsT = PredictQAppInputOptions>
61 void SetOptions(OptionsT&& value) {
62 m_optionsHasBeenSet = true;
63 m_options = std::forward<OptionsT>(value);
64 }
65 template <typename OptionsT = PredictQAppInputOptions>
67 SetOptions(std::forward<OptionsT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_instanceId;
73
75 bool m_instanceIdHasBeenSet = false;
76 bool m_optionsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QApps
81} // namespace Aws
void SetInstanceId(InstanceIdT &&value)
AWS_QAPPS_API PredictQAppRequest()=default
virtual const char * GetServiceRequestName() const override
const PredictQAppInputOptions & GetOptions() const
const Aws::String & GetInstanceId() const
PredictQAppRequest & WithInstanceId(InstanceIdT &&value)
AWS_QAPPS_API Aws::String SerializePayload() const override
PredictQAppRequest & WithOptions(OptionsT &&value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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