AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetrieveEnvironmentInfoRequest.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/elasticbeanstalk/model/EnvironmentInfoType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticBeanstalk
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoRequest();
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_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
52 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
53 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
54 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
55 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
56 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
58 inline RetrieveEnvironmentInfoRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
59 inline RetrieveEnvironmentInfoRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
61
63
70 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
71 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
72 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
73 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
74 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
76 inline RetrieveEnvironmentInfoRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
77 inline RetrieveEnvironmentInfoRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
79
81
84 inline const EnvironmentInfoType& GetInfoType() const{ return m_infoType; }
85 inline bool InfoTypeHasBeenSet() const { return m_infoTypeHasBeenSet; }
86 inline void SetInfoType(const EnvironmentInfoType& value) { m_infoTypeHasBeenSet = true; m_infoType = value; }
87 inline void SetInfoType(EnvironmentInfoType&& value) { m_infoTypeHasBeenSet = true; m_infoType = std::move(value); }
88 inline RetrieveEnvironmentInfoRequest& WithInfoType(const EnvironmentInfoType& value) { SetInfoType(value); return *this;}
89 inline RetrieveEnvironmentInfoRequest& WithInfoType(EnvironmentInfoType&& value) { SetInfoType(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_environmentId;
94 bool m_environmentIdHasBeenSet = false;
95
96 Aws::String m_environmentName;
97 bool m_environmentNameHasBeenSet = false;
98
99 EnvironmentInfoType m_infoType;
100 bool m_infoTypeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace ElasticBeanstalk
105} // namespace Aws
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
RetrieveEnvironmentInfoRequest & WithEnvironmentName(const char *value)
RetrieveEnvironmentInfoRequest & WithEnvironmentId(Aws::String &&value)
RetrieveEnvironmentInfoRequest & WithInfoType(const EnvironmentInfoType &value)
RetrieveEnvironmentInfoRequest & WithEnvironmentId(const char *value)
RetrieveEnvironmentInfoRequest & WithInfoType(EnvironmentInfoType &&value)
RetrieveEnvironmentInfoRequest & WithEnvironmentId(const Aws::String &value)
RetrieveEnvironmentInfoRequest & WithEnvironmentName(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RetrieveEnvironmentInfoRequest & WithEnvironmentName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String