AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateInputRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotevents/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace IoTEvents
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTEVENTS_API CreateInputRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateInput"; }
34
35 AWS_IOTEVENTS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetInputName() const{ return m_inputName; }
43 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
44 inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
45 inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
46 inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
47 inline CreateInputRequest& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
48 inline CreateInputRequest& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
49 inline CreateInputRequest& WithInputName(const char* value) { SetInputName(value); return *this;}
51
53
56 inline const Aws::String& GetInputDescription() const{ return m_inputDescription; }
57 inline bool InputDescriptionHasBeenSet() const { return m_inputDescriptionHasBeenSet; }
58 inline void SetInputDescription(const Aws::String& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = value; }
59 inline void SetInputDescription(Aws::String&& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = std::move(value); }
60 inline void SetInputDescription(const char* value) { m_inputDescriptionHasBeenSet = true; m_inputDescription.assign(value); }
61 inline CreateInputRequest& WithInputDescription(const Aws::String& value) { SetInputDescription(value); return *this;}
62 inline CreateInputRequest& WithInputDescription(Aws::String&& value) { SetInputDescription(std::move(value)); return *this;}
63 inline CreateInputRequest& WithInputDescription(const char* value) { SetInputDescription(value); return *this;}
65
67
70 inline const InputDefinition& GetInputDefinition() const{ return m_inputDefinition; }
71 inline bool InputDefinitionHasBeenSet() const { return m_inputDefinitionHasBeenSet; }
72 inline void SetInputDefinition(const InputDefinition& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = value; }
73 inline void SetInputDefinition(InputDefinition&& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = std::move(value); }
74 inline CreateInputRequest& WithInputDefinition(const InputDefinition& value) { SetInputDefinition(value); return *this;}
75 inline CreateInputRequest& WithInputDefinition(InputDefinition&& value) { SetInputDefinition(std::move(value)); return *this;}
77
79
82 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
85 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
86 inline CreateInputRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
87 inline CreateInputRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
88 inline CreateInputRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
89 inline CreateInputRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
91 private:
92
93 Aws::String m_inputName;
94 bool m_inputNameHasBeenSet = false;
95
96 Aws::String m_inputDescription;
97 bool m_inputDescriptionHasBeenSet = false;
98
99 InputDefinition m_inputDefinition;
100 bool m_inputDefinitionHasBeenSet = false;
101
102 Aws::Vector<Tag> m_tags;
103 bool m_tagsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTEvents
108} // namespace Aws
CreateInputRequest & WithInputName(const Aws::String &value)
CreateInputRequest & WithInputDescription(const Aws::String &value)
CreateInputRequest & WithInputName(Aws::String &&value)
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
void SetInputDefinition(InputDefinition &&value)
void SetInputDescription(const Aws::String &value)
CreateInputRequest & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateInputRequest & WithInputDescription(const char *value)
CreateInputRequest & AddTags(const Tag &value)
CreateInputRequest & WithInputDefinition(InputDefinition &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateInputRequest & WithTags(const Aws::Vector< Tag > &value)
CreateInputRequest & WithInputDefinition(const InputDefinition &value)
void SetInputName(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
void SetInputDefinition(const InputDefinition &value)
CreateInputRequest & WithInputDescription(Aws::String &&value)
CreateInputRequest & WithInputName(const char *value)
const InputDefinition & GetInputDefinition() const
CreateInputRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetInputDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector