AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDeploymentsRequest.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace OpsWorks
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPSWORKS_API DescribeDeploymentsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeDeployments"; }
32
33 AWS_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetStackId() const{ return m_stackId; }
44 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
45 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
46 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
47 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
48 inline DescribeDeploymentsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
49 inline DescribeDeploymentsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
50 inline DescribeDeploymentsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
52
54
58 inline const Aws::String& GetAppId() const{ return m_appId; }
59 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
60 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
61 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
62 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
63 inline DescribeDeploymentsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
64 inline DescribeDeploymentsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
65 inline DescribeDeploymentsRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
67
69
74 inline const Aws::Vector<Aws::String>& GetDeploymentIds() const{ return m_deploymentIds; }
75 inline bool DeploymentIdsHasBeenSet() const { return m_deploymentIdsHasBeenSet; }
76 inline void SetDeploymentIds(const Aws::Vector<Aws::String>& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds = value; }
77 inline void SetDeploymentIds(Aws::Vector<Aws::String>&& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds = std::move(value); }
80 inline DescribeDeploymentsRequest& AddDeploymentIds(const Aws::String& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(value); return *this; }
81 inline DescribeDeploymentsRequest& AddDeploymentIds(Aws::String&& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(std::move(value)); return *this; }
82 inline DescribeDeploymentsRequest& AddDeploymentIds(const char* value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(value); return *this; }
84 private:
85
86 Aws::String m_stackId;
87 bool m_stackIdHasBeenSet = false;
88
89 Aws::String m_appId;
90 bool m_appIdHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_deploymentIds;
93 bool m_deploymentIdsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace OpsWorks
98} // namespace Aws
DescribeDeploymentsRequest & WithAppId(const Aws::String &value)
DescribeDeploymentsRequest & WithAppId(const char *value)
DescribeDeploymentsRequest & WithStackId(Aws::String &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
DescribeDeploymentsRequest & AddDeploymentIds(const char *value)
const Aws::Vector< Aws::String > & GetDeploymentIds() const
DescribeDeploymentsRequest & WithAppId(Aws::String &&value)
DescribeDeploymentsRequest & WithDeploymentIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
DescribeDeploymentsRequest & WithStackId(const char *value)
DescribeDeploymentsRequest & AddDeploymentIds(Aws::String &&value)
void SetDeploymentIds(Aws::Vector< Aws::String > &&value)
DescribeDeploymentsRequest & WithStackId(const Aws::String &value)
DescribeDeploymentsRequest & AddDeploymentIds(const Aws::String &value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDeploymentIds(const Aws::Vector< Aws::String > &value)
DescribeDeploymentsRequest & WithDeploymentIds(const Aws::Vector< Aws::String > &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