AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetDeploymentRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Proton
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_PROTON_API GetDeploymentRequest() = default;
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 "GetDeployment"; }
31
32 AWS_PROTON_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetComponentName() const { return m_componentName; }
42 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
43 template<typename ComponentNameT = Aws::String>
44 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
45 template<typename ComponentNameT = Aws::String>
46 GetDeploymentRequest& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
54 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
55 template<typename EnvironmentNameT = Aws::String>
56 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
57 template<typename EnvironmentNameT = Aws::String>
58 GetDeploymentRequest& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetId() const { return m_id; }
66 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
67 template<typename IdT = Aws::String>
68 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
69 template<typename IdT = Aws::String>
70 GetDeploymentRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
72
74
78 inline const Aws::String& GetServiceInstanceName() const { return m_serviceInstanceName; }
79 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
80 template<typename ServiceInstanceNameT = Aws::String>
81 void SetServiceInstanceName(ServiceInstanceNameT&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value); }
82 template<typename ServiceInstanceNameT = Aws::String>
83 GetDeploymentRequest& WithServiceInstanceName(ServiceInstanceNameT&& value) { SetServiceInstanceName(std::forward<ServiceInstanceNameT>(value)); return *this;}
85
87
90 inline const Aws::String& GetServiceName() const { return m_serviceName; }
91 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
92 template<typename ServiceNameT = Aws::String>
93 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
94 template<typename ServiceNameT = Aws::String>
95 GetDeploymentRequest& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
97 private:
98
99 Aws::String m_componentName;
100 bool m_componentNameHasBeenSet = false;
101
102 Aws::String m_environmentName;
103 bool m_environmentNameHasBeenSet = false;
104
105 Aws::String m_id;
106 bool m_idHasBeenSet = false;
107
108 Aws::String m_serviceInstanceName;
109 bool m_serviceInstanceNameHasBeenSet = false;
110
111 Aws::String m_serviceName;
112 bool m_serviceNameHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Proton
117} // namespace Aws
void SetEnvironmentName(EnvironmentNameT &&value)
GetDeploymentRequest & WithComponentName(ComponentNameT &&value)
GetDeploymentRequest & WithServiceName(ServiceNameT &&value)
GetDeploymentRequest & WithEnvironmentName(EnvironmentNameT &&value)
void SetComponentName(ComponentNameT &&value)
void SetServiceInstanceName(ServiceInstanceNameT &&value)
const Aws::String & GetEnvironmentName() const
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetDeploymentRequest & WithServiceInstanceName(ServiceInstanceNameT &&value)
GetDeploymentRequest & WithId(IdT &&value)
const Aws::String & GetServiceInstanceName() const
AWS_PROTON_API GetDeploymentRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_PROTON_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String