AWS SDK for C++  1.8.95
AWS SDK for C++
RebuildEnvironmentRequest.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 "RebuildEnvironment"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
47  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
48 
54  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
55 
61  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
62 
68  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
69 
75  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
76 
82  inline RebuildEnvironmentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
83 
89  inline RebuildEnvironmentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
90 
96  inline RebuildEnvironmentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
97 
98 
104  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
105 
111  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
112 
118  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
119 
125  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
126 
132  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
133 
139  inline RebuildEnvironmentRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
140 
146  inline RebuildEnvironmentRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
147 
153  inline RebuildEnvironmentRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
154 
155  private:
156 
157  Aws::String m_environmentId;
158  bool m_environmentIdHasBeenSet;
159 
160  Aws::String m_environmentName;
161  bool m_environmentNameHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace ElasticBeanstalk
166 } // namespace Aws
#define AWS_ELASTICBEANSTALK_API
RebuildEnvironmentRequest & WithEnvironmentId(const Aws::String &value)
RebuildEnvironmentRequest & WithEnvironmentId(const char *value)
RebuildEnvironmentRequest & WithEnvironmentName(const Aws::String &value)
RebuildEnvironmentRequest & WithEnvironmentName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RebuildEnvironmentRequest & WithEnvironmentId(Aws::String &&value)
RebuildEnvironmentRequest & WithEnvironmentName(Aws::String &&value)