AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGroupVersionRequest.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Greengrass
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GREENGRASS_API CreateGroupVersionRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateGroupVersion"; }
31
32 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetAmznClientToken() const{ return m_amznClientToken; }
42 inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
43 inline void SetAmznClientToken(const Aws::String& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = value; }
44 inline void SetAmznClientToken(Aws::String&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::move(value); }
45 inline void SetAmznClientToken(const char* value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken.assign(value); }
46 inline CreateGroupVersionRequest& WithAmznClientToken(const Aws::String& value) { SetAmznClientToken(value); return *this;}
47 inline CreateGroupVersionRequest& WithAmznClientToken(Aws::String&& value) { SetAmznClientToken(std::move(value)); return *this;}
48 inline CreateGroupVersionRequest& WithAmznClientToken(const char* value) { SetAmznClientToken(value); return *this;}
50
52
55 inline const Aws::String& GetConnectorDefinitionVersionArn() const{ return m_connectorDefinitionVersionArn; }
56 inline bool ConnectorDefinitionVersionArnHasBeenSet() const { return m_connectorDefinitionVersionArnHasBeenSet; }
57 inline void SetConnectorDefinitionVersionArn(const Aws::String& value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn = value; }
58 inline void SetConnectorDefinitionVersionArn(Aws::String&& value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn = std::move(value); }
59 inline void SetConnectorDefinitionVersionArn(const char* value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn.assign(value); }
64
66
69 inline const Aws::String& GetCoreDefinitionVersionArn() const{ return m_coreDefinitionVersionArn; }
70 inline bool CoreDefinitionVersionArnHasBeenSet() const { return m_coreDefinitionVersionArnHasBeenSet; }
71 inline void SetCoreDefinitionVersionArn(const Aws::String& value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn = value; }
72 inline void SetCoreDefinitionVersionArn(Aws::String&& value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn = std::move(value); }
73 inline void SetCoreDefinitionVersionArn(const char* value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn.assign(value); }
78
80
83 inline const Aws::String& GetDeviceDefinitionVersionArn() const{ return m_deviceDefinitionVersionArn; }
84 inline bool DeviceDefinitionVersionArnHasBeenSet() const { return m_deviceDefinitionVersionArnHasBeenSet; }
85 inline void SetDeviceDefinitionVersionArn(const Aws::String& value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn = value; }
86 inline void SetDeviceDefinitionVersionArn(Aws::String&& value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn = std::move(value); }
87 inline void SetDeviceDefinitionVersionArn(const char* value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn.assign(value); }
92
94
97 inline const Aws::String& GetFunctionDefinitionVersionArn() const{ return m_functionDefinitionVersionArn; }
98 inline bool FunctionDefinitionVersionArnHasBeenSet() const { return m_functionDefinitionVersionArnHasBeenSet; }
99 inline void SetFunctionDefinitionVersionArn(const Aws::String& value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn = value; }
100 inline void SetFunctionDefinitionVersionArn(Aws::String&& value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn = std::move(value); }
101 inline void SetFunctionDefinitionVersionArn(const char* value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn.assign(value); }
106
108
111 inline const Aws::String& GetGroupId() const{ return m_groupId; }
112 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
113 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
114 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
115 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
116 inline CreateGroupVersionRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
117 inline CreateGroupVersionRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
118 inline CreateGroupVersionRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
120
122
125 inline const Aws::String& GetLoggerDefinitionVersionArn() const{ return m_loggerDefinitionVersionArn; }
126 inline bool LoggerDefinitionVersionArnHasBeenSet() const { return m_loggerDefinitionVersionArnHasBeenSet; }
127 inline void SetLoggerDefinitionVersionArn(const Aws::String& value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn = value; }
128 inline void SetLoggerDefinitionVersionArn(Aws::String&& value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn = std::move(value); }
129 inline void SetLoggerDefinitionVersionArn(const char* value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn.assign(value); }
134
136
139 inline const Aws::String& GetResourceDefinitionVersionArn() const{ return m_resourceDefinitionVersionArn; }
140 inline bool ResourceDefinitionVersionArnHasBeenSet() const { return m_resourceDefinitionVersionArnHasBeenSet; }
141 inline void SetResourceDefinitionVersionArn(const Aws::String& value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn = value; }
142 inline void SetResourceDefinitionVersionArn(Aws::String&& value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn = std::move(value); }
143 inline void SetResourceDefinitionVersionArn(const char* value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn.assign(value); }
148
150
153 inline const Aws::String& GetSubscriptionDefinitionVersionArn() const{ return m_subscriptionDefinitionVersionArn; }
154 inline bool SubscriptionDefinitionVersionArnHasBeenSet() const { return m_subscriptionDefinitionVersionArnHasBeenSet; }
155 inline void SetSubscriptionDefinitionVersionArn(const Aws::String& value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn = value; }
156 inline void SetSubscriptionDefinitionVersionArn(Aws::String&& value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn = std::move(value); }
157 inline void SetSubscriptionDefinitionVersionArn(const char* value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn.assign(value); }
162 private:
163
164 Aws::String m_amznClientToken;
165 bool m_amznClientTokenHasBeenSet = false;
166
167 Aws::String m_connectorDefinitionVersionArn;
168 bool m_connectorDefinitionVersionArnHasBeenSet = false;
169
170 Aws::String m_coreDefinitionVersionArn;
171 bool m_coreDefinitionVersionArnHasBeenSet = false;
172
173 Aws::String m_deviceDefinitionVersionArn;
174 bool m_deviceDefinitionVersionArnHasBeenSet = false;
175
176 Aws::String m_functionDefinitionVersionArn;
177 bool m_functionDefinitionVersionArnHasBeenSet = false;
178
179 Aws::String m_groupId;
180 bool m_groupIdHasBeenSet = false;
181
182 Aws::String m_loggerDefinitionVersionArn;
183 bool m_loggerDefinitionVersionArnHasBeenSet = false;
184
185 Aws::String m_resourceDefinitionVersionArn;
186 bool m_resourceDefinitionVersionArnHasBeenSet = false;
187
188 Aws::String m_subscriptionDefinitionVersionArn;
189 bool m_subscriptionDefinitionVersionArnHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace Greengrass
194} // namespace Aws
CreateGroupVersionRequest & WithLoggerDefinitionVersionArn(Aws::String &&value)
CreateGroupVersionRequest & WithAmznClientToken(Aws::String &&value)
CreateGroupVersionRequest & WithConnectorDefinitionVersionArn(const char *value)
CreateGroupVersionRequest & WithCoreDefinitionVersionArn(Aws::String &&value)
CreateGroupVersionRequest & WithConnectorDefinitionVersionArn(const Aws::String &value)
CreateGroupVersionRequest & WithResourceDefinitionVersionArn(const Aws::String &value)
CreateGroupVersionRequest & WithFunctionDefinitionVersionArn(const Aws::String &value)
CreateGroupVersionRequest & WithFunctionDefinitionVersionArn(const char *value)
CreateGroupVersionRequest & WithGroupId(const char *value)
CreateGroupVersionRequest & WithGroupId(Aws::String &&value)
CreateGroupVersionRequest & WithSubscriptionDefinitionVersionArn(Aws::String &&value)
CreateGroupVersionRequest & WithLoggerDefinitionVersionArn(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_GREENGRASS_API Aws::String SerializePayload() const override
CreateGroupVersionRequest & WithGroupId(const Aws::String &value)
CreateGroupVersionRequest & WithDeviceDefinitionVersionArn(const char *value)
CreateGroupVersionRequest & WithSubscriptionDefinitionVersionArn(const Aws::String &value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateGroupVersionRequest & WithResourceDefinitionVersionArn(Aws::String &&value)
CreateGroupVersionRequest & WithLoggerDefinitionVersionArn(const Aws::String &value)
CreateGroupVersionRequest & WithResourceDefinitionVersionArn(const char *value)
CreateGroupVersionRequest & WithCoreDefinitionVersionArn(const Aws::String &value)
CreateGroupVersionRequest & WithDeviceDefinitionVersionArn(Aws::String &&value)
CreateGroupVersionRequest & WithDeviceDefinitionVersionArn(const Aws::String &value)
CreateGroupVersionRequest & WithSubscriptionDefinitionVersionArn(const char *value)
CreateGroupVersionRequest & WithCoreDefinitionVersionArn(const char *value)
CreateGroupVersionRequest & WithAmznClientToken(const Aws::String &value)
CreateGroupVersionRequest & WithAmznClientToken(const char *value)
CreateGroupVersionRequest & WithConnectorDefinitionVersionArn(Aws::String &&value)
CreateGroupVersionRequest & WithFunctionDefinitionVersionArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String