AWS SDK for C++  1.8.95
AWS SDK for C++
DescribeEnvironmentManagedActionHistoryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticBeanstalk
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 "DescribeEnvironmentManagedActionHistory"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
47 
51  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
52 
56  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
57 
61  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
62 
66  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
67 
71  inline DescribeEnvironmentManagedActionHistoryRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
72 
76  inline DescribeEnvironmentManagedActionHistoryRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
77 
81  inline DescribeEnvironmentManagedActionHistoryRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
82 
83 
87  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
88 
92  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
93 
97  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
98 
102  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
103 
107  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
108 
112  inline DescribeEnvironmentManagedActionHistoryRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
113 
117  inline DescribeEnvironmentManagedActionHistoryRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
118 
122  inline DescribeEnvironmentManagedActionHistoryRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
123 
124 
128  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
129 
133  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
134 
138  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
139 
143  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
144 
148  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
149 
153  inline DescribeEnvironmentManagedActionHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
154 
158  inline DescribeEnvironmentManagedActionHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
159 
163  inline DescribeEnvironmentManagedActionHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
164 
165 
169  inline int GetMaxItems() const{ return m_maxItems; }
170 
174  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
175 
179  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
180 
184  inline DescribeEnvironmentManagedActionHistoryRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
185 
186  private:
187 
188  Aws::String m_environmentId;
189  bool m_environmentIdHasBeenSet;
190 
191  Aws::String m_environmentName;
192  bool m_environmentNameHasBeenSet;
193 
194  Aws::String m_nextToken;
195  bool m_nextTokenHasBeenSet;
196 
197  int m_maxItems;
198  bool m_maxItemsHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace ElasticBeanstalk
203 } // namespace Aws
#define AWS_ELASTICBEANSTALK_API
DescribeEnvironmentManagedActionHistoryRequest & WithEnvironmentId(const Aws::String &value)
DescribeEnvironmentManagedActionHistoryRequest & WithEnvironmentName(const Aws::String &value)
DescribeEnvironmentManagedActionHistoryRequest & WithEnvironmentName(Aws::String &&value)
DescribeEnvironmentManagedActionHistoryRequest & WithEnvironmentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeEnvironmentManagedActionHistoryRequest & WithNextToken(const Aws::String &value)