7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/CodeDeployRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codedeploy/model/TimeRange.h>
12#include <aws/codedeploy/model/DeploymentStatus.h>
53 template<
typename ApplicationNameT = Aws::String>
54 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet =
true; m_applicationName = std::forward<ApplicationNameT>(value); }
55 template<
typename ApplicationNameT = Aws::String>
68 template<
typename DeploymentGroupNameT = Aws::String>
69 void SetDeploymentGroupName(DeploymentGroupNameT&& value) { m_deploymentGroupNameHasBeenSet =
true; m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value); }
70 template<
typename DeploymentGroupNameT = Aws::String>
81 template<
typename ExternalIdT = Aws::String>
82 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
83 template<
typename ExternalIdT = Aws::String>
101 template<
typename IncludeOnlyStatusesT = Aws::Vector<DeploymentStatus>>
102 void SetIncludeOnlyStatuses(IncludeOnlyStatusesT&& value) { m_includeOnlyStatusesHasBeenSet =
true; m_includeOnlyStatuses = std::forward<IncludeOnlyStatusesT>(value); }
103 template<
typename IncludeOnlyStatusesT = Aws::Vector<DeploymentStatus>>
115 template<
typename CreateTimeRangeT = TimeRange>
116 void SetCreateTimeRange(CreateTimeRangeT&& value) { m_createTimeRangeHasBeenSet =
true; m_createTimeRange = std::forward<CreateTimeRangeT>(value); }
117 template<
typename CreateTimeRangeT = TimeRange>
128 template<
typename NextTokenT = Aws::String>
129 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
130 template<
typename NextTokenT = Aws::String>
136 bool m_applicationNameHasBeenSet =
false;
139 bool m_deploymentGroupNameHasBeenSet =
false;
142 bool m_externalIdHasBeenSet =
false;
145 bool m_includeOnlyStatusesHasBeenSet =
false;
148 bool m_createTimeRangeHasBeenSet =
false;
151 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