AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInputRequest.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/IoTEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotevents/model/InputDefinition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTEvents
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTEVENTS_API UpdateInputRequest();
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_IOTEVENTS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetInputName() const{ return m_inputName; }
41 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
42 inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
43 inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
44 inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
45 inline UpdateInputRequest& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
46 inline UpdateInputRequest& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
47 inline UpdateInputRequest& WithInputName(const char* value) { SetInputName(value); return *this;}
49
51
54 inline const Aws::String& GetInputDescription() const{ return m_inputDescription; }
55 inline bool InputDescriptionHasBeenSet() const { return m_inputDescriptionHasBeenSet; }
56 inline void SetInputDescription(const Aws::String& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = value; }
57 inline void SetInputDescription(Aws::String&& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = std::move(value); }
58 inline void SetInputDescription(const char* value) { m_inputDescriptionHasBeenSet = true; m_inputDescription.assign(value); }
59 inline UpdateInputRequest& WithInputDescription(const Aws::String& value) { SetInputDescription(value); return *this;}
60 inline UpdateInputRequest& WithInputDescription(Aws::String&& value) { SetInputDescription(std::move(value)); return *this;}
61 inline UpdateInputRequest& WithInputDescription(const char* value) { SetInputDescription(value); return *this;}
63
65
68 inline const InputDefinition& GetInputDefinition() const{ return m_inputDefinition; }
69 inline bool InputDefinitionHasBeenSet() const { return m_inputDefinitionHasBeenSet; }
70 inline void SetInputDefinition(const InputDefinition& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = value; }
71 inline void SetInputDefinition(InputDefinition&& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = std::move(value); }
72 inline UpdateInputRequest& WithInputDefinition(const InputDefinition& value) { SetInputDefinition(value); return *this;}
73 inline UpdateInputRequest& WithInputDefinition(InputDefinition&& value) { SetInputDefinition(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_inputName;
78 bool m_inputNameHasBeenSet = false;
79
80 Aws::String m_inputDescription;
81 bool m_inputDescriptionHasBeenSet = false;
82
83 InputDefinition m_inputDefinition;
84 bool m_inputDefinitionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTEvents
89} // namespace Aws
void SetInputDescription(const Aws::String &value)
UpdateInputRequest & WithInputDescription(const Aws::String &value)
void SetInputDefinition(InputDefinition &&value)
const Aws::String & GetInputDescription() const
UpdateInputRequest & WithInputDefinition(InputDefinition &&value)
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
UpdateInputRequest & WithInputName(const char *value)
void SetInputName(const Aws::String &value)
void SetInputDefinition(const InputDefinition &value)
UpdateInputRequest & WithInputDescription(Aws::String &&value)
UpdateInputRequest & WithInputDescription(const char *value)
UpdateInputRequest & WithInputName(const Aws::String &value)
UpdateInputRequest & WithInputName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const InputDefinition & GetInputDefinition() const
UpdateInputRequest & WithInputDefinition(const InputDefinition &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String