AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BatchGetDeploymentGroupsRequest.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace CodeDeploy
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CODEDEPLOY_API BatchGetDeploymentGroupsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "BatchGetDeploymentGroups"; }
36
37 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
48 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
49 template<typename ApplicationNameT = Aws::String>
50 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
51 template<typename ApplicationNameT = Aws::String>
52 BatchGetDeploymentGroupsRequest& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetDeploymentGroupNames() const { return m_deploymentGroupNames; }
60 inline bool DeploymentGroupNamesHasBeenSet() const { return m_deploymentGroupNamesHasBeenSet; }
61 template<typename DeploymentGroupNamesT = Aws::Vector<Aws::String>>
62 void SetDeploymentGroupNames(DeploymentGroupNamesT&& value) { m_deploymentGroupNamesHasBeenSet = true; m_deploymentGroupNames = std::forward<DeploymentGroupNamesT>(value); }
63 template<typename DeploymentGroupNamesT = Aws::Vector<Aws::String>>
64 BatchGetDeploymentGroupsRequest& WithDeploymentGroupNames(DeploymentGroupNamesT&& value) { SetDeploymentGroupNames(std::forward<DeploymentGroupNamesT>(value)); return *this;}
65 template<typename DeploymentGroupNamesT = Aws::String>
66 BatchGetDeploymentGroupsRequest& AddDeploymentGroupNames(DeploymentGroupNamesT&& value) { m_deploymentGroupNamesHasBeenSet = true; m_deploymentGroupNames.emplace_back(std::forward<DeploymentGroupNamesT>(value)); return *this; }
68 private:
69
70 Aws::String m_applicationName;
71 bool m_applicationNameHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_deploymentGroupNames;
74 bool m_deploymentGroupNamesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeDeploy
79} // namespace Aws
BatchGetDeploymentGroupsRequest & WithDeploymentGroupNames(DeploymentGroupNamesT &&value)
BatchGetDeploymentGroupsRequest & WithApplicationName(ApplicationNameT &&value)
BatchGetDeploymentGroupsRequest & AddDeploymentGroupNames(DeploymentGroupNamesT &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
AWS_CODEDEPLOY_API BatchGetDeploymentGroupsRequest()=default
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