AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename MetadataTransferJobIdT = Aws::String>
45 void SetMetadataTransferJobId(MetadataTransferJobIdT&& value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId = std::forward<MetadataTransferJobIdT>(value); }
46 template<typename MetadataTransferJobIdT = Aws::String>
47 CreateMetadataTransferJobRequest& WithMetadataTransferJobId(MetadataTransferJobIdT&& value) { SetMetadataTransferJobId(std::forward<MetadataTransferJobIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 CreateMetadataTransferJobRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
66 inline const Aws::Vector<SourceConfiguration>& GetSources() const { return m_sources; }
67 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
68 template<typename SourcesT = Aws::Vector<SourceConfiguration>>
69 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
70 template<typename SourcesT = Aws::Vector<SourceConfiguration>>
71 CreateMetadataTransferJobRequest& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
72 template<typename SourcesT = SourceConfiguration>
73 CreateMetadataTransferJobRequest& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
75
77
80 inline const DestinationConfiguration& GetDestination() const { return m_destination; }
81 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
82 template<typename DestinationT = DestinationConfiguration>
83 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
84 template<typename DestinationT = DestinationConfiguration>
85 CreateMetadataTransferJobRequest& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
87 private:
88
89 Aws::String m_metadataTransferJobId;
90 bool m_metadataTransferJobIdHasBeenSet = false;
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
96 bool m_sourcesHasBeenSet = false;
97
98 DestinationConfiguration m_destination;
99 bool m_destinationHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IoTTwinMaker
104} // namespace Aws
CreateMetadataTransferJobRequest & WithSources(SourcesT &&value)
const Aws::Vector< SourceConfiguration > & GetSources() const
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
CreateMetadataTransferJobRequest & WithDestination(DestinationT &&value)
CreateMetadataTransferJobRequest & WithDescription(DescriptionT &&value)
AWS_IOTTWINMAKER_API CreateMetadataTransferJobRequest()=default
CreateMetadataTransferJobRequest & WithMetadataTransferJobId(MetadataTransferJobIdT &&value)
CreateMetadataTransferJobRequest & AddSources(SourcesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector