AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListStacksRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudformation/model/StackStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudFormation
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_CLOUDFORMATION_API ListStacksRequest();
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 "ListStacks"; }
36
37 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
49 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
50 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
51 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
52 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
53 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
54 inline ListStacksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
55 inline ListStacksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
56 inline ListStacksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
58
60
66 inline const Aws::Vector<StackStatus>& GetStackStatusFilter() const{ return m_stackStatusFilter; }
67 inline bool StackStatusFilterHasBeenSet() const { return m_stackStatusFilterHasBeenSet; }
68 inline void SetStackStatusFilter(const Aws::Vector<StackStatus>& value) { m_stackStatusFilterHasBeenSet = true; m_stackStatusFilter = value; }
69 inline void SetStackStatusFilter(Aws::Vector<StackStatus>&& value) { m_stackStatusFilterHasBeenSet = true; m_stackStatusFilter = std::move(value); }
71 inline ListStacksRequest& WithStackStatusFilter(Aws::Vector<StackStatus>&& value) { SetStackStatusFilter(std::move(value)); return *this;}
72 inline ListStacksRequest& AddStackStatusFilter(const StackStatus& value) { m_stackStatusFilterHasBeenSet = true; m_stackStatusFilter.push_back(value); return *this; }
73 inline ListStacksRequest& AddStackStatusFilter(StackStatus&& value) { m_stackStatusFilterHasBeenSet = true; m_stackStatusFilter.push_back(std::move(value)); return *this; }
75 private:
76
77 Aws::String m_nextToken;
78 bool m_nextTokenHasBeenSet = false;
79
80 Aws::Vector<StackStatus> m_stackStatusFilter;
81 bool m_stackStatusFilterHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CloudFormation
86} // namespace Aws
const Aws::Vector< StackStatus > & GetStackStatusFilter() const
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
ListStacksRequest & AddStackStatusFilter(const StackStatus &value)
ListStacksRequest & AddStackStatusFilter(StackStatus &&value)
virtual const char * GetServiceRequestName() const override
void SetStackStatusFilter(Aws::Vector< StackStatus > &&value)
void SetStackStatusFilter(const Aws::Vector< StackStatus > &value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ListStacksRequest & WithNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
ListStacksRequest & WithStackStatusFilter(const Aws::Vector< StackStatus > &value)
ListStacksRequest & WithNextToken(const char *value)
ListStacksRequest & WithNextToken(const Aws::String &value)
ListStacksRequest & WithStackStatusFilter(Aws::Vector< StackStatus > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector