AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
GetDataAutomationProjectRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomationRequest.h>
8#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
9#include <aws/bedrock-data-automation/model/DataAutomationProjectStage.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace BedrockDataAutomation {
16namespace Model {
17
24 public:
25 AWS_BEDROCKDATAAUTOMATION_API GetDataAutomationProjectRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetDataAutomationProject"; }
32
33 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
40 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
41 template <typename ProjectArnT = Aws::String>
42 void SetProjectArn(ProjectArnT&& value) {
43 m_projectArnHasBeenSet = true;
44 m_projectArn = std::forward<ProjectArnT>(value);
45 }
46 template <typename ProjectArnT = Aws::String>
48 SetProjectArn(std::forward<ProjectArnT>(value));
49 return *this;
50 }
52
54
57 inline DataAutomationProjectStage GetProjectStage() const { return m_projectStage; }
58 inline bool ProjectStageHasBeenSet() const { return m_projectStageHasBeenSet; }
60 m_projectStageHasBeenSet = true;
61 m_projectStage = value;
62 }
64 SetProjectStage(value);
65 return *this;
66 }
68 private:
69 Aws::String m_projectArn;
70
72 bool m_projectArnHasBeenSet = false;
73 bool m_projectStageHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace BedrockDataAutomation
78} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API GetDataAutomationProjectRequest()=default
GetDataAutomationProjectRequest & WithProjectStage(DataAutomationProjectStage value)
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
GetDataAutomationProjectRequest & WithProjectArn(ProjectArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String