AWS SDK for C++  1.8.71
AWS SDK for C++
ListStackSetOperationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFormation
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListStackSetOperations"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
44 
49  inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
50 
55  inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
56 
61  inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
62 
67  inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
68 
73  inline ListStackSetOperationsRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
74 
79  inline ListStackSetOperationsRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
80 
85  inline ListStackSetOperationsRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
86 
87 
96  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 
106  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107 
116  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
117 
126  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
127 
136  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
137 
146  inline ListStackSetOperationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
147 
156  inline ListStackSetOperationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
157 
166  inline ListStackSetOperationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
167 
168 
175  inline int GetMaxResults() const{ return m_maxResults; }
176 
183  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
184 
191  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
192 
199  inline ListStackSetOperationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
200 
201  private:
202 
203  Aws::String m_stackSetName;
204  bool m_stackSetNameHasBeenSet;
205 
206  Aws::String m_nextToken;
207  bool m_nextTokenHasBeenSet;
208 
209  int m_maxResults;
210  bool m_maxResultsHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace CloudFormation
215 } // namespace Aws
ListStackSetOperationsRequest & WithStackSetName(const Aws::String &value)
ListStackSetOperationsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API
ListStackSetOperationsRequest & WithStackSetName(Aws::String &&value)
ListStackSetOperationsRequest & WithStackSetName(const char *value)
ListStackSetOperationsRequest & WithNextToken(Aws::String &&value)
ListStackSetOperationsRequest & WithNextToken(const char *value)