AWS SDK for C++

AWS SDK for C++ Version 1.11.860

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
58 inline const Aws::String& GetAccessRoleArn() const { return m_accessRoleArn; }
59 inline bool AccessRoleArnHasBeenSet() const { return m_accessRoleArnHasBeenSet; }
60 template <typename AccessRoleArnT = Aws::String>
61 void SetAccessRoleArn(AccessRoleArnT&& value) {
62 m_accessRoleArnHasBeenSet = true;
63 m_accessRoleArn = std::forward<AccessRoleArnT>(value);
64 }
65 template <typename AccessRoleArnT = Aws::String>
66 UpdateFeedRequest& WithAccessRoleArn(AccessRoleArnT&& value) {
67 SetAccessRoleArn(std::forward<AccessRoleArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetId() const { return m_id; }
77 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
78 template <typename IdT = Aws::String>
79 void SetId(IdT&& value) {
80 m_idHasBeenSet = true;
81 m_id = std::forward<IdT>(value);
82 }
83 template <typename IdT = Aws::String>
84 UpdateFeedRequest& WithId(IdT&& value) {
85 SetId(std::forward<IdT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::Vector<UpdateOutput>& GetOutputs() const { return m_outputs; }
96 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
97 template <typename OutputsT = Aws::Vector<UpdateOutput>>
98 void SetOutputs(OutputsT&& value) {
99 m_outputsHasBeenSet = true;
100 m_outputs = std::forward<OutputsT>(value);
101 }
102 template <typename OutputsT = Aws::Vector<UpdateOutput>>
103 UpdateFeedRequest& WithOutputs(OutputsT&& value) {
104 SetOutputs(std::forward<OutputsT>(value));
105 return *this;
106 }
107 template <typename OutputsT = UpdateOutput>
108 UpdateFeedRequest& AddOutputs(OutputsT&& value) {
109 m_outputsHasBeenSet = true;
110 m_outputs.emplace_back(std::forward<OutputsT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_name;
116
117 Aws::String m_accessRoleArn;
118
119 Aws::String m_id;
120
122 bool m_nameHasBeenSet = false;
123 bool m_accessRoleArnHasBeenSet = false;
124 bool m_idHasBeenSet = false;
125 bool m_outputsHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ElementalInference
130} // 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)
UpdateFeedRequest & WithAccessRoleArn(AccessRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector