AWS SDK for C++  1.9.131
AWS SDK for C++
DescribeEnvironmentHealthRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ElasticBeanstalk
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "DescribeEnvironmentHealth"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
49  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
50 
55  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
56 
61  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
62 
67  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
68 
73  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
74 
79  inline DescribeEnvironmentHealthRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
80 
85  inline DescribeEnvironmentHealthRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
86 
91  inline DescribeEnvironmentHealthRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
92 
93 
98  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
99 
104  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
105 
110  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
111 
116  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
117 
122  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
123 
128  inline DescribeEnvironmentHealthRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
129 
134  inline DescribeEnvironmentHealthRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
135 
140  inline DescribeEnvironmentHealthRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
141 
142 
148  inline const Aws::Vector<EnvironmentHealthAttribute>& GetAttributeNames() const{ return m_attributeNames; }
149 
155  inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
156 
162  inline void SetAttributeNames(const Aws::Vector<EnvironmentHealthAttribute>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
163 
169  inline void SetAttributeNames(Aws::Vector<EnvironmentHealthAttribute>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
170 
176  inline DescribeEnvironmentHealthRequest& WithAttributeNames(const Aws::Vector<EnvironmentHealthAttribute>& value) { SetAttributeNames(value); return *this;}
177 
183  inline DescribeEnvironmentHealthRequest& WithAttributeNames(Aws::Vector<EnvironmentHealthAttribute>&& value) { SetAttributeNames(std::move(value)); return *this;}
184 
190  inline DescribeEnvironmentHealthRequest& AddAttributeNames(const EnvironmentHealthAttribute& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
191 
197  inline DescribeEnvironmentHealthRequest& AddAttributeNames(EnvironmentHealthAttribute&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
198 
199  private:
200 
201  Aws::String m_environmentName;
202  bool m_environmentNameHasBeenSet;
203 
204  Aws::String m_environmentId;
205  bool m_environmentIdHasBeenSet;
206 
208  bool m_attributeNamesHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace ElasticBeanstalk
213 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::DescribeEnvironmentHealthRequest
DescribeEnvironmentHealthRequest()
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithEnvironmentName
DescribeEnvironmentHealthRequest & WithEnvironmentName(const char *value)
Definition: DescribeEnvironmentHealthRequest.h:91
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithEnvironmentId
DescribeEnvironmentHealthRequest & WithEnvironmentId(Aws::String &&value)
Definition: DescribeEnvironmentHealthRequest.h:134
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetEnvironmentName
void SetEnvironmentName(Aws::String &&value)
Definition: DescribeEnvironmentHealthRequest.h:67
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest
Definition: DescribeEnvironmentHealthRequest.h:28
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithAttributeNames
DescribeEnvironmentHealthRequest & WithAttributeNames(const Aws::Vector< EnvironmentHealthAttribute > &value)
Definition: DescribeEnvironmentHealthRequest.h:176
ElasticBeanstalkRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetEnvironmentName
void SetEnvironmentName(const char *value)
Definition: DescribeEnvironmentHealthRequest.h:73
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: DescribeEnvironmentHealthRequest.h:116
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: DescribeEnvironmentHealthRequest.h:104
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::AttributeNamesHasBeenSet
bool AttributeNamesHasBeenSet() const
Definition: DescribeEnvironmentHealthRequest.h:155
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: DescribeEnvironmentHealthRequest.h:110
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::GetAttributeNames
const Aws::Vector< EnvironmentHealthAttribute > & GetAttributeNames() const
Definition: DescribeEnvironmentHealthRequest.h:148
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetAttributeNames
void SetAttributeNames(Aws::Vector< EnvironmentHealthAttribute > &&value)
Definition: DescribeEnvironmentHealthRequest.h:169
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::GetEnvironmentName
const Aws::String & GetEnvironmentName() const
Definition: DescribeEnvironmentHealthRequest.h:49
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetAttributeNames
void SetAttributeNames(const Aws::Vector< EnvironmentHealthAttribute > &value)
Definition: DescribeEnvironmentHealthRequest.h:162
EnvironmentHealthAttribute.h
AWSString.h
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::AddAttributeNames
DescribeEnvironmentHealthRequest & AddAttributeNames(const EnvironmentHealthAttribute &value)
Definition: DescribeEnvironmentHealthRequest.h:190
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithEnvironmentName
DescribeEnvironmentHealthRequest & WithEnvironmentName(const Aws::String &value)
Definition: DescribeEnvironmentHealthRequest.h:79
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: DescribeEnvironmentHealthRequest.h:98
ElasticBeanstalk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::ElasticBeanstalkRequest
Definition: ElasticBeanstalkRequest.h:17
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEnvironmentHealthRequest.h:36
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithEnvironmentId
DescribeEnvironmentHealthRequest & WithEnvironmentId(const char *value)
Definition: DescribeEnvironmentHealthRequest.h:140
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetEnvironmentName
void SetEnvironmentName(const Aws::String &value)
Definition: DescribeEnvironmentHealthRequest.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::AddAttributeNames
DescribeEnvironmentHealthRequest & AddAttributeNames(EnvironmentHealthAttribute &&value)
Definition: DescribeEnvironmentHealthRequest.h:197
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithAttributeNames
DescribeEnvironmentHealthRequest & WithAttributeNames(Aws::Vector< EnvironmentHealthAttribute > &&value)
Definition: DescribeEnvironmentHealthRequest.h:183
Aws::ElasticBeanstalk::Model::EnvironmentHealthAttribute
EnvironmentHealthAttribute
Definition: EnvironmentHealthAttribute.h:17
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::EnvironmentNameHasBeenSet
bool EnvironmentNameHasBeenSet() const
Definition: DescribeEnvironmentHealthRequest.h:55
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithEnvironmentName
DescribeEnvironmentHealthRequest & WithEnvironmentName(Aws::String &&value)
Definition: DescribeEnvironmentHealthRequest.h:85
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: DescribeEnvironmentHealthRequest.h:122
Aws::ElasticBeanstalk::Model::DescribeEnvironmentHealthRequest::WithEnvironmentId
DescribeEnvironmentHealthRequest & WithEnvironmentId(const Aws::String &value)
Definition: DescribeEnvironmentHealthRequest.h:128