AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
46 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
47 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
48 inline StartImportFileTaskRequest& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
49 inline StartImportFileTaskRequest& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
50 inline StartImportFileTaskRequest& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
52
54
59 inline const DataSourceType& GetDataSourceType() const{ return m_dataSourceType; }
60 inline bool DataSourceTypeHasBeenSet() const { return m_dataSourceTypeHasBeenSet; }
61 inline void SetDataSourceType(const DataSourceType& value) { m_dataSourceTypeHasBeenSet = true; m_dataSourceType = value; }
62 inline void SetDataSourceType(DataSourceType&& value) { m_dataSourceTypeHasBeenSet = true; m_dataSourceType = std::move(value); }
64 inline StartImportFileTaskRequest& WithDataSourceType(DataSourceType&& value) { SetDataSourceType(std::move(value)); return *this;}
66
68
73 inline const Aws::Vector<Group>& GetGroupId() const{ return m_groupId; }
74 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
75 inline void SetGroupId(const Aws::Vector<Group>& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
76 inline void SetGroupId(Aws::Vector<Group>&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
77 inline StartImportFileTaskRequest& WithGroupId(const Aws::Vector<Group>& value) { SetGroupId(value); return *this;}
78 inline StartImportFileTaskRequest& WithGroupId(Aws::Vector<Group>&& value) { SetGroupId(std::move(value)); return *this;}
79 inline StartImportFileTaskRequest& AddGroupId(const Group& value) { m_groupIdHasBeenSet = true; m_groupId.push_back(value); return *this; }
80 inline StartImportFileTaskRequest& AddGroupId(Group&& value) { m_groupIdHasBeenSet = true; m_groupId.push_back(std::move(value)); return *this; }
82
84
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline StartImportFileTaskRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline StartImportFileTaskRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline StartImportFileTaskRequest& WithName(const char* value) { SetName(value); return *this;}
96
98
102 inline const Aws::String& GetS3bucketForReportData() const{ return m_s3bucketForReportData; }
103 inline bool S3bucketForReportDataHasBeenSet() const { return m_s3bucketForReportDataHasBeenSet; }
104 inline void SetS3bucketForReportData(const Aws::String& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = value; }
105 inline void SetS3bucketForReportData(Aws::String&& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = std::move(value); }
106 inline void SetS3bucketForReportData(const char* value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData.assign(value); }
109 inline StartImportFileTaskRequest& WithS3bucketForReportData(const char* value) { SetS3bucketForReportData(value); return *this;}
111
113
116 inline const Aws::String& GetS3key() const{ return m_s3key; }
117 inline bool S3keyHasBeenSet() const { return m_s3keyHasBeenSet; }
118 inline void SetS3key(const Aws::String& value) { m_s3keyHasBeenSet = true; m_s3key = value; }
119 inline void SetS3key(Aws::String&& value) { m_s3keyHasBeenSet = true; m_s3key = std::move(value); }
120 inline void SetS3key(const char* value) { m_s3keyHasBeenSet = true; m_s3key.assign(value); }
121 inline StartImportFileTaskRequest& WithS3key(const Aws::String& value) { SetS3key(value); return *this;}
122 inline StartImportFileTaskRequest& WithS3key(Aws::String&& value) { SetS3key(std::move(value)); return *this;}
123 inline StartImportFileTaskRequest& WithS3key(const char* value) { SetS3key(value); return *this;}
125 private:
126
127 Aws::String m_s3Bucket;
128 bool m_s3BucketHasBeenSet = false;
129
130 DataSourceType m_dataSourceType;
131 bool m_dataSourceTypeHasBeenSet = false;
132
133 Aws::Vector<Group> m_groupId;
134 bool m_groupIdHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::String m_s3bucketForReportData;
140 bool m_s3bucketForReportDataHasBeenSet = false;
141
142 Aws::String m_s3key;
143 bool m_s3keyHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace MigrationHubStrategyRecommendations
148} // namespace Aws
StartImportFileTaskRequest & WithGroupId(const Aws::Vector< Group > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartImportFileTaskRequest()
StartImportFileTaskRequest & WithDataSourceType(const DataSourceType &value)
StartImportFileTaskRequest & WithS3bucketForReportData(const Aws::String &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
StartImportFileTaskRequest & WithGroupId(Aws::Vector< Group > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector