AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchGetDeploymentGroupsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace CodeDeploy
16{
17namespace Model
18{
19
27 {
28 public:
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
38
40
41
46 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
47
52 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
53
58 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
59
64 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
65
70 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
71
77
82 inline BatchGetDeploymentGroupsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
83
88 inline BatchGetDeploymentGroupsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
89
90
94 inline const Aws::Vector<Aws::String>& GetDeploymentGroupNames() const{ return m_deploymentGroupNames; }
95
99 inline bool DeploymentGroupNamesHasBeenSet() const { return m_deploymentGroupNamesHasBeenSet; }
100
104 inline void SetDeploymentGroupNames(const Aws::Vector<Aws::String>& value) { m_deploymentGroupNamesHasBeenSet = true; m_deploymentGroupNames = value; }
105
109 inline void SetDeploymentGroupNames(Aws::Vector<Aws::String>&& value) { m_deploymentGroupNamesHasBeenSet = true; m_deploymentGroupNames = std::move(value); }
110
115
120
124 inline BatchGetDeploymentGroupsRequest& AddDeploymentGroupNames(const Aws::String& value) { m_deploymentGroupNamesHasBeenSet = true; m_deploymentGroupNames.push_back(value); return *this; }
125
129 inline BatchGetDeploymentGroupsRequest& AddDeploymentGroupNames(Aws::String&& value) { m_deploymentGroupNamesHasBeenSet = true; m_deploymentGroupNames.push_back(std::move(value)); return *this; }
130
134 inline BatchGetDeploymentGroupsRequest& AddDeploymentGroupNames(const char* value) { m_deploymentGroupNamesHasBeenSet = true; m_deploymentGroupNames.push_back(value); return *this; }
135
136 private:
137
138 Aws::String m_applicationName;
139 bool m_applicationNameHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_deploymentGroupNames;
142 bool m_deploymentGroupNamesHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace CodeDeploy
147} // namespace Aws
#define AWS_CODEDEPLOY_API
BatchGetDeploymentGroupsRequest & WithDeploymentGroupNames(const Aws::Vector< Aws::String > &value)
BatchGetDeploymentGroupsRequest & WithApplicationName(Aws::String &&value)
BatchGetDeploymentGroupsRequest & WithApplicationName(const char *value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetDeploymentGroupsRequest & AddDeploymentGroupNames(Aws::String &&value)
void SetDeploymentGroupNames(const Aws::Vector< Aws::String > &value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
BatchGetDeploymentGroupsRequest & AddDeploymentGroupNames(const Aws::String &value)
BatchGetDeploymentGroupsRequest & WithDeploymentGroupNames(Aws::Vector< Aws::String > &&value)
BatchGetDeploymentGroupsRequest & WithApplicationName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDeploymentGroupNames() const
BatchGetDeploymentGroupsRequest & AddDeploymentGroupNames(const char *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