AWS SDK for C++  1.9.176
AWS SDK for C++
RetrieveEnvironmentInfoRequest.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 "RetrieveEnvironmentInfo"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
51  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
52 
60  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
61 
69  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
70 
78  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
79 
87  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
88 
96  inline RetrieveEnvironmentInfoRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
97 
105  inline RetrieveEnvironmentInfoRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
106 
114  inline RetrieveEnvironmentInfoRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
115 
116 
124  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
125 
133  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
134 
142  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
143 
151  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
152 
160  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
161 
169  inline RetrieveEnvironmentInfoRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
170 
178  inline RetrieveEnvironmentInfoRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
179 
187  inline RetrieveEnvironmentInfoRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
188 
189 
193  inline const EnvironmentInfoType& GetInfoType() const{ return m_infoType; }
194 
198  inline bool InfoTypeHasBeenSet() const { return m_infoTypeHasBeenSet; }
199 
203  inline void SetInfoType(const EnvironmentInfoType& value) { m_infoTypeHasBeenSet = true; m_infoType = value; }
204 
208  inline void SetInfoType(EnvironmentInfoType&& value) { m_infoTypeHasBeenSet = true; m_infoType = std::move(value); }
209 
213  inline RetrieveEnvironmentInfoRequest& WithInfoType(const EnvironmentInfoType& value) { SetInfoType(value); return *this;}
214 
218  inline RetrieveEnvironmentInfoRequest& WithInfoType(EnvironmentInfoType&& value) { SetInfoType(std::move(value)); return *this;}
219 
220  private:
221 
222  Aws::String m_environmentId;
223  bool m_environmentIdHasBeenSet;
224 
225  Aws::String m_environmentName;
226  bool m_environmentNameHasBeenSet;
227 
228  EnvironmentInfoType m_infoType;
229  bool m_infoTypeHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace ElasticBeanstalk
234 } // namespace Aws
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RetrieveEnvironmentInfoRequest.h:35
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetInfoType
void SetInfoType(EnvironmentInfoType &&value)
Definition: RetrieveEnvironmentInfoRequest.h:208
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: RetrieveEnvironmentInfoRequest.h:51
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::EnvironmentNameHasBeenSet
bool EnvironmentNameHasBeenSet() const
Definition: RetrieveEnvironmentInfoRequest.h:133
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetEnvironmentName
void SetEnvironmentName(const char *value)
Definition: RetrieveEnvironmentInfoRequest.h:160
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithEnvironmentName
RetrieveEnvironmentInfoRequest & WithEnvironmentName(Aws::String &&value)
Definition: RetrieveEnvironmentInfoRequest.h:178
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: RetrieveEnvironmentInfoRequest.h:60
Aws::ElasticBeanstalk::Model::EnvironmentInfoType
EnvironmentInfoType
Definition: EnvironmentInfoType.h:17
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: RetrieveEnvironmentInfoRequest.h:69
ElasticBeanstalkRequest.h
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetInfoType
void SetInfoType(const EnvironmentInfoType &value)
Definition: RetrieveEnvironmentInfoRequest.h:203
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::GetInfoType
const EnvironmentInfoType & GetInfoType() const
Definition: RetrieveEnvironmentInfoRequest.h:193
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithEnvironmentName
RetrieveEnvironmentInfoRequest & WithEnvironmentName(const Aws::String &value)
Definition: RetrieveEnvironmentInfoRequest.h:169
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithEnvironmentId
RetrieveEnvironmentInfoRequest & WithEnvironmentId(const Aws::String &value)
Definition: RetrieveEnvironmentInfoRequest.h:96
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: RetrieveEnvironmentInfoRequest.h:78
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: RetrieveEnvironmentInfoRequest.h:87
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::GetEnvironmentName
const Aws::String & GetEnvironmentName() const
Definition: RetrieveEnvironmentInfoRequest.h:124
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetEnvironmentName
void SetEnvironmentName(const Aws::String &value)
Definition: RetrieveEnvironmentInfoRequest.h:142
AWSString.h
EnvironmentInfoType.h
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithEnvironmentName
RetrieveEnvironmentInfoRequest & WithEnvironmentName(const char *value)
Definition: RetrieveEnvironmentInfoRequest.h:187
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::RetrieveEnvironmentInfoRequest
RetrieveEnvironmentInfoRequest()
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest
Definition: RetrieveEnvironmentInfoRequest.h:27
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::ElasticBeanstalkRequest
Definition: ElasticBeanstalkRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithInfoType
RetrieveEnvironmentInfoRequest & WithInfoType(EnvironmentInfoType &&value)
Definition: RetrieveEnvironmentInfoRequest.h:218
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithEnvironmentId
RetrieveEnvironmentInfoRequest & WithEnvironmentId(const char *value)
Definition: RetrieveEnvironmentInfoRequest.h:114
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithEnvironmentId
RetrieveEnvironmentInfoRequest & WithEnvironmentId(Aws::String &&value)
Definition: RetrieveEnvironmentInfoRequest.h:105
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SetEnvironmentName
void SetEnvironmentName(Aws::String &&value)
Definition: RetrieveEnvironmentInfoRequest.h:151
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::WithInfoType
RetrieveEnvironmentInfoRequest & WithInfoType(const EnvironmentInfoType &value)
Definition: RetrieveEnvironmentInfoRequest.h:213
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoRequest::InfoTypeHasBeenSet
bool InfoTypeHasBeenSet() const
Definition: RetrieveEnvironmentInfoRequest.h:198