AWS SDK for C++  1.9.67
AWS SDK for C++
UpdateInputRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoTEvents
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "UpdateInput"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetInputName() const{ return m_inputName; }
40 
44  inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
45 
49  inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
50 
54  inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
55 
59  inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
60 
64  inline UpdateInputRequest& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
65 
69  inline UpdateInputRequest& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
70 
74  inline UpdateInputRequest& WithInputName(const char* value) { SetInputName(value); return *this;}
75 
76 
80  inline const Aws::String& GetInputDescription() const{ return m_inputDescription; }
81 
85  inline bool InputDescriptionHasBeenSet() const { return m_inputDescriptionHasBeenSet; }
86 
90  inline void SetInputDescription(const Aws::String& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = value; }
91 
95  inline void SetInputDescription(Aws::String&& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = std::move(value); }
96 
100  inline void SetInputDescription(const char* value) { m_inputDescriptionHasBeenSet = true; m_inputDescription.assign(value); }
101 
105  inline UpdateInputRequest& WithInputDescription(const Aws::String& value) { SetInputDescription(value); return *this;}
106 
110  inline UpdateInputRequest& WithInputDescription(Aws::String&& value) { SetInputDescription(std::move(value)); return *this;}
111 
115  inline UpdateInputRequest& WithInputDescription(const char* value) { SetInputDescription(value); return *this;}
116 
117 
121  inline const InputDefinition& GetInputDefinition() const{ return m_inputDefinition; }
122 
126  inline bool InputDefinitionHasBeenSet() const { return m_inputDefinitionHasBeenSet; }
127 
131  inline void SetInputDefinition(const InputDefinition& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = value; }
132 
136  inline void SetInputDefinition(InputDefinition&& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = std::move(value); }
137 
141  inline UpdateInputRequest& WithInputDefinition(const InputDefinition& value) { SetInputDefinition(value); return *this;}
142 
146  inline UpdateInputRequest& WithInputDefinition(InputDefinition&& value) { SetInputDefinition(std::move(value)); return *this;}
147 
148  private:
149 
150  Aws::String m_inputName;
151  bool m_inputNameHasBeenSet;
152 
153  Aws::String m_inputDescription;
154  bool m_inputDescriptionHasBeenSet;
155 
156  InputDefinition m_inputDefinition;
157  bool m_inputDefinitionHasBeenSet;
158  };
159 
160 } // namespace Model
161 } // namespace IoTEvents
162 } // namespace Aws
Aws::IoTEvents::Model::UpdateInputRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateInputRequest.h:31
IoTEventsRequest.h
Aws::IoTEvents::Model::UpdateInputRequest::SetInputName
void SetInputName(const char *value)
Definition: UpdateInputRequest.h:59
Aws::IoTEvents::Model::UpdateInputRequest::GetInputName
const Aws::String & GetInputName() const
Definition: UpdateInputRequest.h:39
Aws::IoTEvents::Model::UpdateInputRequest::GetInputDescription
const Aws::String & GetInputDescription() const
Definition: UpdateInputRequest.h:80
Aws::IoTEvents::Model::UpdateInputRequest::SetInputDescription
void SetInputDescription(const Aws::String &value)
Definition: UpdateInputRequest.h:90
Aws::IoTEvents::Model::UpdateInputRequest::GetInputDefinition
const InputDefinition & GetInputDefinition() const
Definition: UpdateInputRequest.h:121
Aws::IoTEvents::Model::UpdateInputRequest::InputDescriptionHasBeenSet
bool InputDescriptionHasBeenSet() const
Definition: UpdateInputRequest.h:85
Aws::IoTEvents::Model::UpdateInputRequest::SetInputName
void SetInputName(const Aws::String &value)
Definition: UpdateInputRequest.h:49
Aws::IoTEvents::Model::UpdateInputRequest::SetInputDefinition
void SetInputDefinition(const InputDefinition &value)
Definition: UpdateInputRequest.h:131
Aws::IoTEvents::Model::UpdateInputRequest::WithInputDescription
UpdateInputRequest & WithInputDescription(const Aws::String &value)
Definition: UpdateInputRequest.h:105
InputDefinition.h
Aws::IoTEvents::Model::UpdateInputRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTEvents::Model::UpdateInputRequest::InputNameHasBeenSet
bool InputNameHasBeenSet() const
Definition: UpdateInputRequest.h:44
Aws::IoTEvents::Model::UpdateInputRequest::SetInputName
void SetInputName(Aws::String &&value)
Definition: UpdateInputRequest.h:54
Aws::IoTEvents::Model::InputDefinition
Definition: InputDefinition.h:33
Aws::IoTEvents::Model::UpdateInputRequest::SetInputDefinition
void SetInputDefinition(InputDefinition &&value)
Definition: UpdateInputRequest.h:136
Aws::IoTEvents::Model::UpdateInputRequest::WithInputName
UpdateInputRequest & WithInputName(Aws::String &&value)
Definition: UpdateInputRequest.h:69
Aws::IoTEvents::Model::UpdateInputRequest::WithInputDescription
UpdateInputRequest & WithInputDescription(Aws::String &&value)
Definition: UpdateInputRequest.h:110
AWSString.h
Aws::IoTEvents::Model::UpdateInputRequest::InputDefinitionHasBeenSet
bool InputDefinitionHasBeenSet() const
Definition: UpdateInputRequest.h:126
Aws::IoTEvents::Model::UpdateInputRequest
Definition: UpdateInputRequest.h:23
Aws::IoTEvents::Model::UpdateInputRequest::SetInputDescription
void SetInputDescription(const char *value)
Definition: UpdateInputRequest.h:100
Aws::IoTEvents::IoTEventsRequest
Definition: IoTEventsRequest.h:17
Aws::IoTEvents::Model::UpdateInputRequest::WithInputDefinition
UpdateInputRequest & WithInputDefinition(const InputDefinition &value)
Definition: UpdateInputRequest.h:141
Aws::IoTEvents::Model::UpdateInputRequest::WithInputName
UpdateInputRequest & WithInputName(const Aws::String &value)
Definition: UpdateInputRequest.h:64
Aws::IoTEvents::Model::UpdateInputRequest::WithInputName
UpdateInputRequest & WithInputName(const char *value)
Definition: UpdateInputRequest.h:74
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::UpdateInputRequest::UpdateInputRequest
UpdateInputRequest()
Aws::IoTEvents::Model::UpdateInputRequest::WithInputDescription
UpdateInputRequest & WithInputDescription(const char *value)
Definition: UpdateInputRequest.h:115
Aws::IoTEvents::Model::UpdateInputRequest::WithInputDefinition
UpdateInputRequest & WithInputDefinition(InputDefinition &&value)
Definition: UpdateInputRequest.h:146
Aws::IoTEvents::Model::UpdateInputRequest::SetInputDescription
void SetInputDescription(Aws::String &&value)
Definition: UpdateInputRequest.h:95