AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStackResourceDriftsRequest.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/StackResourceDriftStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudFormation
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDFORMATION_API DescribeStackResourceDriftsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeStackResourceDrifts"; }
33
34 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetStackName() const{ return m_stackName; }
46 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
47 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
48 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
49 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
50 inline DescribeStackResourceDriftsRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
51 inline DescribeStackResourceDriftsRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
52 inline DescribeStackResourceDriftsRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
54
56
66 inline const Aws::Vector<StackResourceDriftStatus>& GetStackResourceDriftStatusFilters() const{ return m_stackResourceDriftStatusFilters; }
67 inline bool StackResourceDriftStatusFiltersHasBeenSet() const { return m_stackResourceDriftStatusFiltersHasBeenSet; }
68 inline void SetStackResourceDriftStatusFilters(const Aws::Vector<StackResourceDriftStatus>& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters = value; }
69 inline void SetStackResourceDriftStatusFilters(Aws::Vector<StackResourceDriftStatus>&& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters = std::move(value); }
72 inline DescribeStackResourceDriftsRequest& AddStackResourceDriftStatusFilters(const StackResourceDriftStatus& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters.push_back(value); return *this; }
73 inline DescribeStackResourceDriftsRequest& AddStackResourceDriftStatusFilters(StackResourceDriftStatus&& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters.push_back(std::move(value)); return *this; }
75
77
80 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
83 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
84 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
85 inline DescribeStackResourceDriftsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 inline DescribeStackResourceDriftsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 inline DescribeStackResourceDriftsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
89
91
97 inline int GetMaxResults() const{ return m_maxResults; }
98 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
99 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 inline DescribeStackResourceDriftsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
102 private:
103
104 Aws::String m_stackName;
105 bool m_stackNameHasBeenSet = false;
106
107 Aws::Vector<StackResourceDriftStatus> m_stackResourceDriftStatusFilters;
108 bool m_stackResourceDriftStatusFiltersHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112
113 int m_maxResults;
114 bool m_maxResultsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace CloudFormation
119} // namespace Aws
DescribeStackResourceDriftsRequest & WithStackResourceDriftStatusFilters(const Aws::Vector< StackResourceDriftStatus > &value)
DescribeStackResourceDriftsRequest & WithStackName(const char *value)
DescribeStackResourceDriftsRequest & AddStackResourceDriftStatusFilters(StackResourceDriftStatus &&value)
DescribeStackResourceDriftsRequest & WithNextToken(const Aws::String &value)
const Aws::Vector< StackResourceDriftStatus > & GetStackResourceDriftStatusFilters() const
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
DescribeStackResourceDriftsRequest & AddStackResourceDriftStatusFilters(const StackResourceDriftStatus &value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeStackResourceDriftsRequest & WithNextToken(Aws::String &&value)
DescribeStackResourceDriftsRequest & WithStackName(const Aws::String &value)
DescribeStackResourceDriftsRequest & WithStackResourceDriftStatusFilters(Aws::Vector< StackResourceDriftStatus > &&value)
DescribeStackResourceDriftsRequest & WithStackName(Aws::String &&value)
void SetStackResourceDriftStatusFilters(Aws::Vector< StackResourceDriftStatus > &&value)
DescribeStackResourceDriftsRequest & WithNextToken(const char *value)
void SetStackResourceDriftStatusFilters(const Aws::Vector< StackResourceDriftStatus > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector