AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMetadataTransferJobRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iottwinmaker/model/DestinationConfiguration.h>
12#include <aws/iottwinmaker/model/SourceConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace IoTTwinMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTTWINMAKER_API CreateMetadataTransferJobRequest();
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 "CreateMetadataTransferJob"; }
34
35 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetMetadataTransferJobId() const{ return m_metadataTransferJobId; }
43 inline bool MetadataTransferJobIdHasBeenSet() const { return m_metadataTransferJobIdHasBeenSet; }
44 inline void SetMetadataTransferJobId(const Aws::String& value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId = value; }
45 inline void SetMetadataTransferJobId(Aws::String&& value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId = std::move(value); }
46 inline void SetMetadataTransferJobId(const char* value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId.assign(value); }
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline CreateMetadataTransferJobRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline CreateMetadataTransferJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline CreateMetadataTransferJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const Aws::Vector<SourceConfiguration>& GetSources() const{ return m_sources; }
71 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
72 inline void SetSources(const Aws::Vector<SourceConfiguration>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
73 inline void SetSources(Aws::Vector<SourceConfiguration>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
76 inline CreateMetadataTransferJobRequest& AddSources(const SourceConfiguration& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
77 inline CreateMetadataTransferJobRequest& AddSources(SourceConfiguration&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
79
81
84 inline const DestinationConfiguration& GetDestination() const{ return m_destination; }
85 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
86 inline void SetDestination(const DestinationConfiguration& value) { m_destinationHasBeenSet = true; m_destination = value; }
87 inline void SetDestination(DestinationConfiguration&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
91 private:
92
93 Aws::String m_metadataTransferJobId;
94 bool m_metadataTransferJobIdHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
100 bool m_sourcesHasBeenSet = false;
101
102 DestinationConfiguration m_destination;
103 bool m_destinationHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTTwinMaker
108} // namespace Aws
CreateMetadataTransferJobRequest & WithSources(Aws::Vector< SourceConfiguration > &&value)
CreateMetadataTransferJobRequest & WithMetadataTransferJobId(Aws::String &&value)
CreateMetadataTransferJobRequest & WithSources(const Aws::Vector< SourceConfiguration > &value)
const Aws::Vector< SourceConfiguration > & GetSources() const
CreateMetadataTransferJobRequest & WithMetadataTransferJobId(const char *value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
void SetSources(const Aws::Vector< SourceConfiguration > &value)
CreateMetadataTransferJobRequest & WithDescription(const char *value)
CreateMetadataTransferJobRequest & WithDestination(DestinationConfiguration &&value)
CreateMetadataTransferJobRequest & AddSources(SourceConfiguration &&value)
CreateMetadataTransferJobRequest & AddSources(const SourceConfiguration &value)
CreateMetadataTransferJobRequest & WithDescription(Aws::String &&value)
CreateMetadataTransferJobRequest & WithMetadataTransferJobId(const Aws::String &value)
CreateMetadataTransferJobRequest & WithDescription(const Aws::String &value)
CreateMetadataTransferJobRequest & WithDestination(const DestinationConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector