7#include <aws/codedeploy/CodeDeployRequest.h>
8#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
9#include <aws/codedeploy/model/DeploymentStatus.h>
10#include <aws/codedeploy/model/TimeRange.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename ApplicationNameT = Aws::String>
51 m_applicationNameHasBeenSet =
true;
52 m_applicationName = std::forward<ApplicationNameT>(value);
54 template <
typename ApplicationNameT = Aws::String>
70 template <
typename DeploymentGroupNameT = Aws::String>
72 m_deploymentGroupNameHasBeenSet =
true;
73 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
75 template <
typename DeploymentGroupNameT = Aws::String>
89 template <
typename ExternalIdT = Aws::String>
91 m_externalIdHasBeenSet =
true;
92 m_externalId = std::forward<ExternalIdT>(value);
94 template <
typename ExternalIdT = Aws::String>
115 template <
typename IncludeOnlyStatusesT = Aws::Vector<DeploymentStatus>>
117 m_includeOnlyStatusesHasBeenSet =
true;
118 m_includeOnlyStatuses = std::forward<IncludeOnlyStatusesT>(value);
120 template <
typename IncludeOnlyStatusesT = Aws::Vector<DeploymentStatus>>
126 m_includeOnlyStatusesHasBeenSet =
true;
127 m_includeOnlyStatuses.push_back(value);
139 template <
typename CreateTimeRangeT = TimeRange>
141 m_createTimeRangeHasBeenSet =
true;
142 m_createTimeRange = std::forward<CreateTimeRangeT>(value);
144 template <
typename CreateTimeRangeT = TimeRange>
158 template <
typename NextTokenT = Aws::String>
160 m_nextTokenHasBeenSet =
true;
161 m_nextToken = std::forward<NextTokenT>(value);
163 template <
typename NextTokenT = Aws::String>
181 bool m_applicationNameHasBeenSet =
false;
182 bool m_deploymentGroupNameHasBeenSet =
false;
183 bool m_externalIdHasBeenSet =
false;
184 bool m_includeOnlyStatusesHasBeenSet =
false;
185 bool m_createTimeRangeHasBeenSet =
false;
186 bool m_nextTokenHasBeenSet =
false;
const Aws::String & GetNextToken() const
bool IncludeOnlyStatusesHasBeenSet() const
bool NextTokenHasBeenSet() const
ListDeploymentsRequest & WithDeploymentGroupName(DeploymentGroupNameT &&value)
void SetDeploymentGroupName(DeploymentGroupNameT &&value)
bool DeploymentGroupNameHasBeenSet() const
ListDeploymentsRequest & WithIncludeOnlyStatuses(IncludeOnlyStatusesT &&value)
void SetExternalId(ExternalIdT &&value)
void SetNextToken(NextTokenT &&value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
ListDeploymentsRequest & WithNextToken(NextTokenT &&value)
ListDeploymentsRequest & WithApplicationName(ApplicationNameT &&value)
const Aws::String & GetExternalId() const
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ApplicationNameHasBeenSet() const
const Aws::Vector< DeploymentStatus > & GetIncludeOnlyStatuses() const
const Aws::String & GetDeploymentGroupName() const
bool CreateTimeRangeHasBeenSet() const
bool ExternalIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_CODEDEPLOY_API ListDeploymentsRequest()=default
ListDeploymentsRequest & WithCreateTimeRange(CreateTimeRangeT &&value)
ListDeploymentsRequest & AddIncludeOnlyStatuses(DeploymentStatus value)
void SetCreateTimeRange(CreateTimeRangeT &&value)
void SetApplicationName(ApplicationNameT &&value)
void SetIncludeOnlyStatuses(IncludeOnlyStatusesT &&value)
const TimeRange & GetCreateTimeRange() const
const Aws::String & GetApplicationName() const
ListDeploymentsRequest & WithExternalId(ExternalIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector