AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStacksRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpsWorks
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPSWORKS_API DescribeStacksRequest();
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 "DescribeStacks"; }
32
33 AWS_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
48 inline const Aws::Vector<Aws::String>& GetStackIds() const{ return m_stackIds; }
49 inline bool StackIdsHasBeenSet() const { return m_stackIdsHasBeenSet; }
50 inline void SetStackIds(const Aws::Vector<Aws::String>& value) { m_stackIdsHasBeenSet = true; m_stackIds = value; }
51 inline void SetStackIds(Aws::Vector<Aws::String>&& value) { m_stackIdsHasBeenSet = true; m_stackIds = std::move(value); }
52 inline DescribeStacksRequest& WithStackIds(const Aws::Vector<Aws::String>& value) { SetStackIds(value); return *this;}
53 inline DescribeStacksRequest& WithStackIds(Aws::Vector<Aws::String>&& value) { SetStackIds(std::move(value)); return *this;}
54 inline DescribeStacksRequest& AddStackIds(const Aws::String& value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(value); return *this; }
55 inline DescribeStacksRequest& AddStackIds(Aws::String&& value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(std::move(value)); return *this; }
56 inline DescribeStacksRequest& AddStackIds(const char* value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(value); return *this; }
58 private:
59
60 Aws::Vector<Aws::String> m_stackIds;
61 bool m_stackIdsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace OpsWorks
66} // namespace Aws
const Aws::Vector< Aws::String > & GetStackIds() const
DescribeStacksRequest & WithStackIds(const Aws::Vector< Aws::String > &value)
DescribeStacksRequest & WithStackIds(Aws::Vector< Aws::String > &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DescribeStacksRequest & AddStackIds(Aws::String &&value)
void SetStackIds(const Aws::Vector< Aws::String > &value)
DescribeStacksRequest & AddStackIds(const char *value)
void SetStackIds(Aws::Vector< Aws::String > &&value)
DescribeStacksRequest & AddStackIds(const 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