AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWirelessGatewayTaskDefinitionRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/UpdateWirelessGatewayTaskCreate.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotwireless/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace IoTWireless
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateWirelessGatewayTaskDefinition"; }
35
36 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
37
38
40
45 inline bool GetAutoCreateTasks() const{ return m_autoCreateTasks; }
46 inline bool AutoCreateTasksHasBeenSet() const { return m_autoCreateTasksHasBeenSet; }
47 inline void SetAutoCreateTasks(bool value) { m_autoCreateTasksHasBeenSet = true; m_autoCreateTasks = value; }
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline CreateWirelessGatewayTaskDefinitionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline CreateWirelessGatewayTaskDefinitionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline CreateWirelessGatewayTaskDefinitionRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const UpdateWirelessGatewayTaskCreate& GetUpdate() const{ return m_update; }
70 inline bool UpdateHasBeenSet() const { return m_updateHasBeenSet; }
71 inline void SetUpdate(const UpdateWirelessGatewayTaskCreate& value) { m_updateHasBeenSet = true; m_update = value; }
72 inline void SetUpdate(UpdateWirelessGatewayTaskCreate&& value) { m_updateHasBeenSet = true; m_update = std::move(value); }
76
78
89 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
90 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
91 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
92 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
93 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
98
100
104 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
107 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
109 inline CreateWirelessGatewayTaskDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
110 inline CreateWirelessGatewayTaskDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
111 inline CreateWirelessGatewayTaskDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
113 private:
114
115 bool m_autoCreateTasks;
116 bool m_autoCreateTasksHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
122 bool m_updateHasBeenSet = false;
123
124 Aws::String m_clientRequestToken;
125 bool m_clientRequestTokenHasBeenSet = false;
126
127 Aws::Vector<Tag> m_tags;
128 bool m_tagsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace IoTWireless
133} // namespace Aws
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
CreateWirelessGatewayTaskDefinitionRequest & WithName(Aws::String &&value)
CreateWirelessGatewayTaskDefinitionRequest & WithName(const char *value)
CreateWirelessGatewayTaskDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateWirelessGatewayTaskDefinitionRequest & WithClientRequestToken(const char *value)
CreateWirelessGatewayTaskDefinitionRequest & WithUpdate(UpdateWirelessGatewayTaskCreate &&value)
CreateWirelessGatewayTaskDefinitionRequest & WithUpdate(const UpdateWirelessGatewayTaskCreate &value)
CreateWirelessGatewayTaskDefinitionRequest & WithName(const Aws::String &value)
CreateWirelessGatewayTaskDefinitionRequest & WithClientRequestToken(Aws::String &&value)
CreateWirelessGatewayTaskDefinitionRequest & WithClientRequestToken(const Aws::String &value)
CreateWirelessGatewayTaskDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector