AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartImportFileTaskRequest.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migrationhubstrategy/model/DataSourceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/migrationhubstrategy/model/Group.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MigrationHubStrategyRecommendations
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartImportFileTaskRequest() = 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 "StartImportFileTask"; }
34
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
44 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
45 template<typename S3BucketT = Aws::String>
46 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
47 template<typename S3BucketT = Aws::String>
48 StartImportFileTaskRequest& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
50
52
57 inline DataSourceType GetDataSourceType() const { return m_dataSourceType; }
58 inline bool DataSourceTypeHasBeenSet() const { return m_dataSourceTypeHasBeenSet; }
59 inline void SetDataSourceType(DataSourceType value) { m_dataSourceTypeHasBeenSet = true; m_dataSourceType = value; }
62
64
69 inline const Aws::Vector<Group>& GetGroupId() const { return m_groupId; }
70 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
71 template<typename GroupIdT = Aws::Vector<Group>>
72 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
73 template<typename GroupIdT = Aws::Vector<Group>>
74 StartImportFileTaskRequest& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
75 template<typename GroupIdT = Group>
76 StartImportFileTaskRequest& AddGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId.emplace_back(std::forward<GroupIdT>(value)); return *this; }
78
80
83 inline const Aws::String& GetName() const { return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 StartImportFileTaskRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
96 inline const Aws::String& GetS3bucketForReportData() const { return m_s3bucketForReportData; }
97 inline bool S3bucketForReportDataHasBeenSet() const { return m_s3bucketForReportDataHasBeenSet; }
98 template<typename S3bucketForReportDataT = Aws::String>
99 void SetS3bucketForReportData(S3bucketForReportDataT&& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = std::forward<S3bucketForReportDataT>(value); }
100 template<typename S3bucketForReportDataT = Aws::String>
101 StartImportFileTaskRequest& WithS3bucketForReportData(S3bucketForReportDataT&& value) { SetS3bucketForReportData(std::forward<S3bucketForReportDataT>(value)); return *this;}
103
105
108 inline const Aws::String& GetS3key() const { return m_s3key; }
109 inline bool S3keyHasBeenSet() const { return m_s3keyHasBeenSet; }
110 template<typename S3keyT = Aws::String>
111 void SetS3key(S3keyT&& value) { m_s3keyHasBeenSet = true; m_s3key = std::forward<S3keyT>(value); }
112 template<typename S3keyT = Aws::String>
113 StartImportFileTaskRequest& WithS3key(S3keyT&& value) { SetS3key(std::forward<S3keyT>(value)); return *this;}
115 private:
116
117 Aws::String m_s3Bucket;
118 bool m_s3BucketHasBeenSet = false;
119
120 DataSourceType m_dataSourceType{DataSourceType::NOT_SET};
121 bool m_dataSourceTypeHasBeenSet = false;
122
123 Aws::Vector<Group> m_groupId;
124 bool m_groupIdHasBeenSet = false;
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 Aws::String m_s3bucketForReportData;
130 bool m_s3bucketForReportDataHasBeenSet = false;
131
132 Aws::String m_s3key;
133 bool m_s3keyHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace MigrationHubStrategyRecommendations
138} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartImportFileTaskRequest()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
StartImportFileTaskRequest & WithS3bucketForReportData(S3bucketForReportDataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector