7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/opsworks/model/DeploymentCommand.h>
45 template<
typename StackIdT = Aws::String>
46 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
47 template<
typename StackIdT = Aws::String>
58 template<
typename AppIdT = Aws::String>
59 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
60 template<
typename AppIdT = Aws::String>
70 template<
typename InstanceIdsT = Aws::Vector<Aws::String>>
71 void SetInstanceIds(InstanceIdsT&& value) { m_instanceIdsHasBeenSet =
true; m_instanceIds = std::forward<InstanceIdsT>(value); }
72 template<
typename InstanceIdsT = Aws::Vector<Aws::String>>
74 template<
typename InstanceIdsT = Aws::String>
84 template<
typename LayerIdsT = Aws::Vector<Aws::String>>
85 void SetLayerIds(LayerIdsT&& value) { m_layerIdsHasBeenSet =
true; m_layerIds = std::forward<LayerIdsT>(value); }
86 template<
typename LayerIdsT = Aws::Vector<Aws::String>>
88 template<
typename LayerIdsT = Aws::String>
99 template<
typename CommandT = DeploymentCommand>
100 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
101 template<
typename CommandT = DeploymentCommand>
111 template<
typename CommentT = Aws::String>
112 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
113 template<
typename CommentT = Aws::String>
131 template<
typename CustomJsonT = Aws::String>
132 void SetCustomJson(CustomJsonT&& value) { m_customJsonHasBeenSet =
true; m_customJson = std::forward<CustomJsonT>(value); }
133 template<
typename CustomJsonT = Aws::String>
139 bool m_stackIdHasBeenSet =
false;
142 bool m_appIdHasBeenSet =
false;
145 bool m_instanceIdsHasBeenSet =
false;
148 bool m_layerIdsHasBeenSet =
false;
151 bool m_commandHasBeenSet =
false;
154 bool m_commentHasBeenSet =
false;
157 bool m_customJsonHasBeenSet =
false;
bool CustomJsonHasBeenSet() const
const Aws::String & GetComment() const
CreateDeploymentRequest & WithAppId(AppIdT &&value)
void SetAppId(AppIdT &&value)
void SetInstanceIds(InstanceIdsT &&value)
bool LayerIdsHasBeenSet() const
CreateDeploymentRequest & WithInstanceIds(InstanceIdsT &&value)
CreateDeploymentRequest & WithCommand(CommandT &&value)
void SetStackId(StackIdT &&value)
CreateDeploymentRequest & WithStackId(StackIdT &&value)
const Aws::Vector< Aws::String > & GetInstanceIds() const
bool CommentHasBeenSet() const
const Aws::String & GetStackId() const
const Aws::Vector< Aws::String > & GetLayerIds() const
void SetLayerIds(LayerIdsT &&value)
AWS_OPSWORKS_API CreateDeploymentRequest()=default
const DeploymentCommand & GetCommand() const
bool AppIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & WithLayerIds(LayerIdsT &&value)
const Aws::String & GetAppId() const
CreateDeploymentRequest & AddLayerIds(LayerIdsT &&value)
CreateDeploymentRequest & WithCustomJson(CustomJsonT &&value)
const Aws::String & GetCustomJson() const
CreateDeploymentRequest & WithComment(CommentT &&value)
void SetCommand(CommandT &&value)
bool StackIdHasBeenSet() const
void SetComment(CommentT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
CreateDeploymentRequest & AddInstanceIds(InstanceIdsT &&value)
void SetCustomJson(CustomJsonT &&value)
bool InstanceIdsHasBeenSet() const
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CommandHasBeenSet() const
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