AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename StackIdsT = Aws::Vector<Aws::String>>
51 void SetStackIds(StackIdsT&& value) { m_stackIdsHasBeenSet = true; m_stackIds = std::forward<StackIdsT>(value); }
52 template<typename StackIdsT = Aws::Vector<Aws::String>>
53 DescribeStacksRequest& WithStackIds(StackIdsT&& value) { SetStackIds(std::forward<StackIdsT>(value)); return *this;}
54 template<typename StackIdsT = Aws::String>
55 DescribeStacksRequest& AddStackIds(StackIdsT&& value) { m_stackIdsHasBeenSet = true; m_stackIds.emplace_back(std::forward<StackIdsT>(value)); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_stackIds;
60 bool m_stackIdsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace OpsWorks
65} // namespace Aws
const Aws::Vector< Aws::String > & GetStackIds() const
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_OPSWORKS_API DescribeStacksRequest()=default
DescribeStacksRequest & AddStackIds(StackIdsT &&value)
DescribeStacksRequest & WithStackIds(StackIdsT &&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