AWS SDK for C++  1.8.95
AWS SDK for C++
DescribeEnvironmentManagedActionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticBeanstalk
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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 "DescribeEnvironmentManagedActions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
48 
52  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
53 
57  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
58 
62  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
63 
67  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
68 
72  inline DescribeEnvironmentManagedActionsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
73 
77  inline DescribeEnvironmentManagedActionsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
78 
82  inline DescribeEnvironmentManagedActionsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
83 
84 
88  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
89 
93  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
94 
98  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
99 
103  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
104 
108  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
109 
113  inline DescribeEnvironmentManagedActionsRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
114 
118  inline DescribeEnvironmentManagedActionsRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
119 
123  inline DescribeEnvironmentManagedActionsRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
124 
125 
129  inline const ActionStatus& GetStatus() const{ return m_status; }
130 
134  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 
139  inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
140 
144  inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
145 
149  inline DescribeEnvironmentManagedActionsRequest& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
150 
154  inline DescribeEnvironmentManagedActionsRequest& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
155 
156  private:
157 
158  Aws::String m_environmentName;
159  bool m_environmentNameHasBeenSet;
160 
161  Aws::String m_environmentId;
162  bool m_environmentIdHasBeenSet;
163 
164  ActionStatus m_status;
165  bool m_statusHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace ElasticBeanstalk
170 } // namespace Aws
DescribeEnvironmentManagedActionsRequest & WithEnvironmentId(const Aws::String &value)
DescribeEnvironmentManagedActionsRequest & WithEnvironmentName(Aws::String &&value)
#define AWS_ELASTICBEANSTALK_API
DescribeEnvironmentManagedActionsRequest & WithStatus(const ActionStatus &value)
DescribeEnvironmentManagedActionsRequest & WithStatus(ActionStatus &&value)
DescribeEnvironmentManagedActionsRequest & WithEnvironmentName(const char *value)
DescribeEnvironmentManagedActionsRequest & WithEnvironmentId(Aws::String &&value)
DescribeEnvironmentManagedActionsRequest & WithEnvironmentName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeEnvironmentManagedActionsRequest & WithEnvironmentId(const char *value)