AWS SDK for C++  1.9.109
AWS SDK for C++
StartImportLabelsTaskRunRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glue
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "StartImportLabelsTaskRun"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetTransformId() const{ return m_transformId; }
41 
45  inline bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; }
46 
50  inline void SetTransformId(const Aws::String& value) { m_transformIdHasBeenSet = true; m_transformId = value; }
51 
55  inline void SetTransformId(Aws::String&& value) { m_transformIdHasBeenSet = true; m_transformId = std::move(value); }
56 
60  inline void SetTransformId(const char* value) { m_transformIdHasBeenSet = true; m_transformId.assign(value); }
61 
65  inline StartImportLabelsTaskRunRequest& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
66 
70  inline StartImportLabelsTaskRunRequest& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
71 
75  inline StartImportLabelsTaskRunRequest& WithTransformId(const char* value) { SetTransformId(value); return *this;}
76 
77 
82  inline const Aws::String& GetInputS3Path() const{ return m_inputS3Path; }
83 
88  inline bool InputS3PathHasBeenSet() const { return m_inputS3PathHasBeenSet; }
89 
94  inline void SetInputS3Path(const Aws::String& value) { m_inputS3PathHasBeenSet = true; m_inputS3Path = value; }
95 
100  inline void SetInputS3Path(Aws::String&& value) { m_inputS3PathHasBeenSet = true; m_inputS3Path = std::move(value); }
101 
106  inline void SetInputS3Path(const char* value) { m_inputS3PathHasBeenSet = true; m_inputS3Path.assign(value); }
107 
112  inline StartImportLabelsTaskRunRequest& WithInputS3Path(const Aws::String& value) { SetInputS3Path(value); return *this;}
113 
118  inline StartImportLabelsTaskRunRequest& WithInputS3Path(Aws::String&& value) { SetInputS3Path(std::move(value)); return *this;}
119 
124  inline StartImportLabelsTaskRunRequest& WithInputS3Path(const char* value) { SetInputS3Path(value); return *this;}
125 
126 
130  inline bool GetReplaceAllLabels() const{ return m_replaceAllLabels; }
131 
135  inline bool ReplaceAllLabelsHasBeenSet() const { return m_replaceAllLabelsHasBeenSet; }
136 
140  inline void SetReplaceAllLabels(bool value) { m_replaceAllLabelsHasBeenSet = true; m_replaceAllLabels = value; }
141 
145  inline StartImportLabelsTaskRunRequest& WithReplaceAllLabels(bool value) { SetReplaceAllLabels(value); return *this;}
146 
147  private:
148 
149  Aws::String m_transformId;
150  bool m_transformIdHasBeenSet;
151 
152  Aws::String m_inputS3Path;
153  bool m_inputS3PathHasBeenSet;
154 
155  bool m_replaceAllLabels;
156  bool m_replaceAllLabelsHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace Glue
161 } // namespace Aws
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SetTransformId
void SetTransformId(Aws::String &&value)
Definition: StartImportLabelsTaskRunRequest.h:55
Aws::Glue::Model::StartImportLabelsTaskRunRequest::WithTransformId
StartImportLabelsTaskRunRequest & WithTransformId(const char *value)
Definition: StartImportLabelsTaskRunRequest.h:75
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SetTransformId
void SetTransformId(const char *value)
Definition: StartImportLabelsTaskRunRequest.h:60
Aws::Glue::Model::StartImportLabelsTaskRunRequest::GetTransformId
const Aws::String & GetTransformId() const
Definition: StartImportLabelsTaskRunRequest.h:40
Glue_EXPORTS.h
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SetInputS3Path
void SetInputS3Path(const char *value)
Definition: StartImportLabelsTaskRunRequest.h:106
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SetTransformId
void SetTransformId(const Aws::String &value)
Definition: StartImportLabelsTaskRunRequest.h:50
Aws::Glue::Model::StartImportLabelsTaskRunRequest::StartImportLabelsTaskRunRequest
StartImportLabelsTaskRunRequest()
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::StartImportLabelsTaskRunRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartImportLabelsTaskRunRequest.h:30
Aws::Glue::Model::StartImportLabelsTaskRunRequest::WithTransformId
StartImportLabelsTaskRunRequest & WithTransformId(Aws::String &&value)
Definition: StartImportLabelsTaskRunRequest.h:70
Aws::Glue::Model::StartImportLabelsTaskRunRequest::TransformIdHasBeenSet
bool TransformIdHasBeenSet() const
Definition: StartImportLabelsTaskRunRequest.h:45
Aws::Glue::Model::StartImportLabelsTaskRunRequest::InputS3PathHasBeenSet
bool InputS3PathHasBeenSet() const
Definition: StartImportLabelsTaskRunRequest.h:88
Aws::Glue::Model::StartImportLabelsTaskRunRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
AWSString.h
Aws::Glue::Model::StartImportLabelsTaskRunRequest::WithInputS3Path
StartImportLabelsTaskRunRequest & WithInputS3Path(const char *value)
Definition: StartImportLabelsTaskRunRequest.h:124
Aws::Glue::Model::StartImportLabelsTaskRunRequest::WithReplaceAllLabels
StartImportLabelsTaskRunRequest & WithReplaceAllLabels(bool value)
Definition: StartImportLabelsTaskRunRequest.h:145
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::StartImportLabelsTaskRunRequest::GetReplaceAllLabels
bool GetReplaceAllLabels() const
Definition: StartImportLabelsTaskRunRequest.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::StartImportLabelsTaskRunRequest
Definition: StartImportLabelsTaskRunRequest.h:22
Aws::Glue::Model::StartImportLabelsTaskRunRequest::WithInputS3Path
StartImportLabelsTaskRunRequest & WithInputS3Path(const Aws::String &value)
Definition: StartImportLabelsTaskRunRequest.h:112
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SetInputS3Path
void SetInputS3Path(const Aws::String &value)
Definition: StartImportLabelsTaskRunRequest.h:94
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SetInputS3Path
void SetInputS3Path(Aws::String &&value)
Definition: StartImportLabelsTaskRunRequest.h:100
Aws::Glue::Model::StartImportLabelsTaskRunRequest::GetInputS3Path
const Aws::String & GetInputS3Path() const
Definition: StartImportLabelsTaskRunRequest.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::StartImportLabelsTaskRunRequest::ReplaceAllLabelsHasBeenSet
bool ReplaceAllLabelsHasBeenSet() const
Definition: StartImportLabelsTaskRunRequest.h:135
Aws::Glue::Model::StartImportLabelsTaskRunRequest::WithInputS3Path
StartImportLabelsTaskRunRequest & WithInputS3Path(Aws::String &&value)
Definition: StartImportLabelsTaskRunRequest.h:118
Aws::Glue::Model::StartImportLabelsTaskRunRequest::SetReplaceAllLabels
void SetReplaceAllLabels(bool value)
Definition: StartImportLabelsTaskRunRequest.h:140
GlueRequest.h
Aws::Glue::Model::StartImportLabelsTaskRunRequest::WithTransformId
StartImportLabelsTaskRunRequest & WithTransformId(const Aws::String &value)
Definition: StartImportLabelsTaskRunRequest.h:65