AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConnectorDefinitionVersionRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrass/model/Connector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Greengrass
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateConnectorDefinitionVersion"; }
33
34 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetAmznClientToken() const{ return m_amznClientToken; }
44 inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
45 inline void SetAmznClientToken(const Aws::String& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = value; }
46 inline void SetAmznClientToken(Aws::String&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::move(value); }
47 inline void SetAmznClientToken(const char* value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken.assign(value); }
50 inline CreateConnectorDefinitionVersionRequest& WithAmznClientToken(const char* value) { SetAmznClientToken(value); return *this;}
52
54
57 inline const Aws::String& GetConnectorDefinitionId() const{ return m_connectorDefinitionId; }
58 inline bool ConnectorDefinitionIdHasBeenSet() const { return m_connectorDefinitionIdHasBeenSet; }
59 inline void SetConnectorDefinitionId(const Aws::String& value) { m_connectorDefinitionIdHasBeenSet = true; m_connectorDefinitionId = value; }
60 inline void SetConnectorDefinitionId(Aws::String&& value) { m_connectorDefinitionIdHasBeenSet = true; m_connectorDefinitionId = std::move(value); }
61 inline void SetConnectorDefinitionId(const char* value) { m_connectorDefinitionIdHasBeenSet = true; m_connectorDefinitionId.assign(value); }
66
68
72 inline const Aws::Vector<Connector>& GetConnectors() const{ return m_connectors; }
73 inline bool ConnectorsHasBeenSet() const { return m_connectorsHasBeenSet; }
74 inline void SetConnectors(const Aws::Vector<Connector>& value) { m_connectorsHasBeenSet = true; m_connectors = value; }
75 inline void SetConnectors(Aws::Vector<Connector>&& value) { m_connectorsHasBeenSet = true; m_connectors = std::move(value); }
78 inline CreateConnectorDefinitionVersionRequest& AddConnectors(const Connector& value) { m_connectorsHasBeenSet = true; m_connectors.push_back(value); return *this; }
79 inline CreateConnectorDefinitionVersionRequest& AddConnectors(Connector&& value) { m_connectorsHasBeenSet = true; m_connectors.push_back(std::move(value)); return *this; }
81 private:
82
83 Aws::String m_amznClientToken;
84 bool m_amznClientTokenHasBeenSet = false;
85
86 Aws::String m_connectorDefinitionId;
87 bool m_connectorDefinitionIdHasBeenSet = false;
88
89 Aws::Vector<Connector> m_connectors;
90 bool m_connectorsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Greengrass
95} // namespace Aws
CreateConnectorDefinitionVersionRequest & AddConnectors(const Connector &value)
CreateConnectorDefinitionVersionRequest & WithConnectorDefinitionId(const char *value)
CreateConnectorDefinitionVersionRequest & WithAmznClientToken(const char *value)
CreateConnectorDefinitionVersionRequest & AddConnectors(Connector &&value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GREENGRASS_API Aws::String SerializePayload() const override
CreateConnectorDefinitionVersionRequest & WithConnectorDefinitionId(Aws::String &&value)
CreateConnectorDefinitionVersionRequest & WithConnectors(Aws::Vector< Connector > &&value)
CreateConnectorDefinitionVersionRequest & WithConnectorDefinitionId(const Aws::String &value)
CreateConnectorDefinitionVersionRequest & WithAmznClientToken(Aws::String &&value)
CreateConnectorDefinitionVersionRequest & WithAmznClientToken(const Aws::String &value)
CreateConnectorDefinitionVersionRequest & WithConnectors(const Aws::Vector< Connector > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector