AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
44 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
45 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
46 inline GetDeploymentRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
47 inline GetDeploymentRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
48 inline GetDeploymentRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;}
50
52
55 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
56 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
57 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
58 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
59 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
60 inline GetDeploymentRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
61 inline GetDeploymentRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
62 inline GetDeploymentRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
64
66
69 inline const Aws::String& GetId() const{ return m_id; }
70 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
71 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
72 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
73 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
74 inline GetDeploymentRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
75 inline GetDeploymentRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 inline GetDeploymentRequest& WithId(const char* value) { SetId(value); return *this;}
78
80
84 inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; }
85 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
86 inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; }
87 inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); }
88 inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); }
90 inline GetDeploymentRequest& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;}
91 inline GetDeploymentRequest& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;}
93
95
98 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
99 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
100 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
101 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
102 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
103 inline GetDeploymentRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
104 inline GetDeploymentRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
105 inline GetDeploymentRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
107 private:
108
109 Aws::String m_componentName;
110 bool m_componentNameHasBeenSet = false;
111
112 Aws::String m_environmentName;
113 bool m_environmentNameHasBeenSet = false;
114
115 Aws::String m_id;
116 bool m_idHasBeenSet = false;
117
118 Aws::String m_serviceInstanceName;
119 bool m_serviceInstanceNameHasBeenSet = false;
120
121 Aws::String m_serviceName;
122 bool m_serviceNameHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Proton
127} // namespace Aws
void SetEnvironmentName(const Aws::String &value)
GetDeploymentRequest & WithComponentName(Aws::String &&value)
GetDeploymentRequest & WithId(const Aws::String &value)
GetDeploymentRequest & WithServiceName(Aws::String &&value)
void SetServiceName(const Aws::String &value)
void SetServiceInstanceName(const Aws::String &value)
void SetComponentName(const Aws::String &value)
GetDeploymentRequest & WithServiceInstanceName(const char *value)
GetDeploymentRequest & WithServiceInstanceName(const Aws::String &value)
GetDeploymentRequest & WithId(const char *value)
const Aws::String & GetEnvironmentName() const
GetDeploymentRequest & WithServiceInstanceName(Aws::String &&value)
GetDeploymentRequest & WithId(Aws::String &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetDeploymentRequest & WithServiceName(const Aws::String &value)
GetDeploymentRequest & WithComponentName(const char *value)
const Aws::String & GetServiceInstanceName() const
GetDeploymentRequest & WithEnvironmentName(const char *value)
GetDeploymentRequest & WithComponentName(const Aws::String &value)
GetDeploymentRequest & WithEnvironmentName(Aws::String &&value)
GetDeploymentRequest & WithEnvironmentName(const Aws::String &value)
GetDeploymentRequest & WithServiceName(const char *value)
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