AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEnvironmentHealthRequest.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticbeanstalk/model/EnvironmentHealthAttribute.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticBeanstalk
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ELASTICBEANSTALK_API DescribeEnvironmentHealthRequest();
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_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
50 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
51 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
52 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
53 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
54 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
56 inline DescribeEnvironmentHealthRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
57 inline DescribeEnvironmentHealthRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
59
61
65 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
66 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
67 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
68 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
69 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
71 inline DescribeEnvironmentHealthRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
72 inline DescribeEnvironmentHealthRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
74
76
81 inline const Aws::Vector<EnvironmentHealthAttribute>& GetAttributeNames() const{ return m_attributeNames; }
82 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
83 inline void SetAttributeNames(const Aws::Vector<EnvironmentHealthAttribute>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
84 inline void SetAttributeNames(Aws::Vector<EnvironmentHealthAttribute>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
87 inline DescribeEnvironmentHealthRequest& AddAttributeNames(const EnvironmentHealthAttribute& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
88 inline DescribeEnvironmentHealthRequest& AddAttributeNames(EnvironmentHealthAttribute&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
90 private:
91
92 Aws::String m_environmentName;
93 bool m_environmentNameHasBeenSet = false;
94
95 Aws::String m_environmentId;
96 bool m_environmentIdHasBeenSet = false;
97
99 bool m_attributeNamesHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ElasticBeanstalk
104} // namespace Aws
const Aws::Vector< EnvironmentHealthAttribute > & GetAttributeNames() const
DescribeEnvironmentHealthRequest & WithEnvironmentId(const Aws::String &value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
DescribeEnvironmentHealthRequest & AddAttributeNames(EnvironmentHealthAttribute &&value)
DescribeEnvironmentHealthRequest & WithEnvironmentName(const Aws::String &value)
DescribeEnvironmentHealthRequest & AddAttributeNames(const EnvironmentHealthAttribute &value)
void SetAttributeNames(Aws::Vector< EnvironmentHealthAttribute > &&value)
DescribeEnvironmentHealthRequest & WithEnvironmentName(const char *value)
DescribeEnvironmentHealthRequest & WithEnvironmentId(Aws::String &&value)
DescribeEnvironmentHealthRequest & WithAttributeNames(const Aws::Vector< EnvironmentHealthAttribute > &value)
void SetAttributeNames(const Aws::Vector< EnvironmentHealthAttribute > &value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEnvironmentHealthRequest & WithEnvironmentId(const char *value)
DescribeEnvironmentHealthRequest & WithEnvironmentName(Aws::String &&value)
DescribeEnvironmentHealthRequest & WithAttributeNames(Aws::Vector< EnvironmentHealthAttribute > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector