AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
UpdateFeedRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elementalinference/ElementalInferenceRequest.h>
10#include <aws/elementalinference/ElementalInference_EXPORTS.h>
11#include <aws/elementalinference/model/UpdateOutput.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ElementalInference {
17namespace Model {
18
22 public:
23 AWS_ELEMENTALINFERENCE_API UpdateFeedRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateFeed"; }
30
31 AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 UpdateFeedRequest& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
64 UpdateFeedRequest& WithId(IdT&& value) {
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::Vector<UpdateOutput>& GetOutputs() const { return m_outputs; }
76 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
77 template <typename OutputsT = Aws::Vector<UpdateOutput>>
78 void SetOutputs(OutputsT&& value) {
79 m_outputsHasBeenSet = true;
80 m_outputs = std::forward<OutputsT>(value);
81 }
82 template <typename OutputsT = Aws::Vector<UpdateOutput>>
83 UpdateFeedRequest& WithOutputs(OutputsT&& value) {
84 SetOutputs(std::forward<OutputsT>(value));
85 return *this;
86 }
87 template <typename OutputsT = UpdateOutput>
88 UpdateFeedRequest& AddOutputs(OutputsT&& value) {
89 m_outputsHasBeenSet = true;
90 m_outputs.emplace_back(std::forward<OutputsT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_name;
96
97 Aws::String m_id;
98
100 bool m_nameHasBeenSet = false;
101 bool m_idHasBeenSet = false;
102 bool m_outputsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace ElementalInference
107} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::Vector< UpdateOutput > & GetOutputs() const
AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override
AWS_ELEMENTALINFERENCE_API UpdateFeedRequest()=default
UpdateFeedRequest & WithName(NameT &&value)
UpdateFeedRequest & WithOutputs(OutputsT &&value)
UpdateFeedRequest & AddOutputs(OutputsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector