AWS SDK for C++  1.8.95
AWS SDK for C++
AbortEnvironmentUpdateRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "AbortEnvironmentUpdate"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
47 
52  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
53 
58  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
59 
64  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
65 
70  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
71 
76  inline AbortEnvironmentUpdateRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
77 
82  inline AbortEnvironmentUpdateRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
83 
88  inline AbortEnvironmentUpdateRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
89 
90 
95  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
96 
101  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
102 
107  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
108 
113  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
114 
119  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
120 
125  inline AbortEnvironmentUpdateRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
126 
131  inline AbortEnvironmentUpdateRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
132 
137  inline AbortEnvironmentUpdateRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
138 
139  private:
140 
141  Aws::String m_environmentId;
142  bool m_environmentIdHasBeenSet;
143 
144  Aws::String m_environmentName;
145  bool m_environmentNameHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace ElasticBeanstalk
150 } // namespace Aws
AbortEnvironmentUpdateRequest & WithEnvironmentName(Aws::String &&value)
#define AWS_ELASTICBEANSTALK_API
AbortEnvironmentUpdateRequest & WithEnvironmentId(Aws::String &&value)
AbortEnvironmentUpdateRequest & WithEnvironmentId(const Aws::String &value)
AbortEnvironmentUpdateRequest & WithEnvironmentName(const char *value)
AbortEnvironmentUpdateRequest & WithEnvironmentName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AbortEnvironmentUpdateRequest & WithEnvironmentId(const char *value)