AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 PredictQAppRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
56 inline const PredictQAppInputOptions& GetOptions() const { return m_options; }
57 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
58 template<typename OptionsT = PredictQAppInputOptions>
59 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
60 template<typename OptionsT = PredictQAppInputOptions>
61 PredictQAppRequest& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
63 private:
64
65 Aws::String m_instanceId;
66 bool m_instanceIdHasBeenSet = false;
67
69 bool m_optionsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QApps
74} // 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