AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExportEarthObservationJobRequest.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/sagemaker-geospatial/SageMakerGeospatialRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker-geospatial/model/OutputConfigInput.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace SageMakerGeospatial
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKERGEOSPATIAL_API ExportEarthObservationJobRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ExportEarthObservationJob"; }
33
34 AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 ExportEarthObservationJobRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetClientToken() const { return m_clientToken; }
55 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
56 template<typename ClientTokenT = Aws::String>
57 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
58 template<typename ClientTokenT = Aws::String>
59 ExportEarthObservationJobRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
61
63
67 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
68 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
69 template<typename ExecutionRoleArnT = Aws::String>
70 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
71 template<typename ExecutionRoleArnT = Aws::String>
72 ExportEarthObservationJobRequest& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
74
76
79 inline bool GetExportSourceImages() const { return m_exportSourceImages; }
80 inline bool ExportSourceImagesHasBeenSet() const { return m_exportSourceImagesHasBeenSet; }
81 inline void SetExportSourceImages(bool value) { m_exportSourceImagesHasBeenSet = true; m_exportSourceImages = value; }
84
86
89 inline const OutputConfigInput& GetOutputConfig() const { return m_outputConfig; }
90 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
91 template<typename OutputConfigT = OutputConfigInput>
92 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
93 template<typename OutputConfigT = OutputConfigInput>
94 ExportEarthObservationJobRequest& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
96 private:
97
98 Aws::String m_arn;
99 bool m_arnHasBeenSet = false;
100
102 bool m_clientTokenHasBeenSet = true;
103
104 Aws::String m_executionRoleArn;
105 bool m_executionRoleArnHasBeenSet = false;
106
107 bool m_exportSourceImages{false};
108 bool m_exportSourceImagesHasBeenSet = false;
109
110 OutputConfigInput m_outputConfig;
111 bool m_outputConfigHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SageMakerGeospatial
116} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API ExportEarthObservationJobRequest()=default
ExportEarthObservationJobRequest & WithOutputConfig(OutputConfigT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override
ExportEarthObservationJobRequest & WithClientToken(ClientTokenT &&value)
ExportEarthObservationJobRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String