AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeStackEventsRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeStackEvents"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
50  inline const Aws::String& GetStackName() const{ return m_stackName; }
51 
59  inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
60 
68  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
69 
77  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
78 
86  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
87 
95  inline DescribeStackEventsRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
96 
104  inline DescribeStackEventsRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
105 
113  inline DescribeStackEventsRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
114 
115 
120  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
121 
126  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 
132  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
133 
138  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
139 
144  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
145 
150  inline DescribeStackEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
151 
156  inline DescribeStackEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
157 
162  inline DescribeStackEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
163 
164  private:
165 
166  Aws::String m_stackName;
167  bool m_stackNameHasBeenSet;
168 
169  Aws::String m_nextToken;
170  bool m_nextTokenHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace CloudFormation
175 } // namespace Aws
DescribeStackEventsRequest & WithNextToken(const Aws::String &value)
DescribeStackEventsRequest & WithStackName(const char *value)
DescribeStackEventsRequest & WithStackName(const Aws::String &value)
DescribeStackEventsRequest & WithStackName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API
DescribeStackEventsRequest & WithNextToken(Aws::String &&value)
DescribeStackEventsRequest & WithNextToken(const char *value)