AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDeploymentsRequest.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 ListDeploymentsRequest();
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 "ListDeployments"; }
31
32 AWS_PROTON_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetComponentName() const{ return m_componentName; }
43 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
44 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
45 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
46 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
47 inline ListDeploymentsRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
48 inline ListDeploymentsRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
49 inline ListDeploymentsRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;}
51
53
57 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
58 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
59 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
60 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
61 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
62 inline ListDeploymentsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
63 inline ListDeploymentsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
64 inline ListDeploymentsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
66
68
71 inline int GetMaxResults() const{ return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline ListDeploymentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
85 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
86 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87 inline ListDeploymentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
88 inline ListDeploymentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 inline ListDeploymentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
91
93
97 inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; }
98 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
99 inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; }
100 inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); }
101 inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); }
103 inline ListDeploymentsRequest& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;}
104 inline ListDeploymentsRequest& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;}
106
108
112 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
113 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
114 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
115 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
116 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
117 inline ListDeploymentsRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
118 inline ListDeploymentsRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
119 inline ListDeploymentsRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
121 private:
122
123 Aws::String m_componentName;
124 bool m_componentNameHasBeenSet = false;
125
126 Aws::String m_environmentName;
127 bool m_environmentNameHasBeenSet = false;
128
129 int m_maxResults;
130 bool m_maxResultsHasBeenSet = false;
131
132 Aws::String m_nextToken;
133 bool m_nextTokenHasBeenSet = false;
134
135 Aws::String m_serviceInstanceName;
136 bool m_serviceInstanceNameHasBeenSet = false;
137
138 Aws::String m_serviceName;
139 bool m_serviceNameHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Proton
144} // namespace Aws
ListDeploymentsRequest & WithEnvironmentName(const char *value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDeploymentsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetServiceInstanceName(const Aws::String &value)
ListDeploymentsRequest & WithEnvironmentName(const Aws::String &value)
ListDeploymentsRequest & WithEnvironmentName(Aws::String &&value)
void SetComponentName(const Aws::String &value)
ListDeploymentsRequest & WithComponentName(const Aws::String &value)
ListDeploymentsRequest & WithServiceInstanceName(Aws::String &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
ListDeploymentsRequest & WithServiceName(Aws::String &&value)
ListDeploymentsRequest & WithMaxResults(int value)
ListDeploymentsRequest & WithComponentName(const char *value)
ListDeploymentsRequest & WithComponentName(Aws::String &&value)
ListDeploymentsRequest & WithServiceName(const char *value)
void SetEnvironmentName(const Aws::String &value)
ListDeploymentsRequest & WithNextToken(const char *value)
ListDeploymentsRequest & WithServiceInstanceName(const Aws::String &value)
ListDeploymentsRequest & WithNextToken(const Aws::String &value)
ListDeploymentsRequest & WithServiceInstanceName(const char *value)
ListDeploymentsRequest & WithServiceName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String