AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RetrieveEnvironmentInfoRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10#include <aws/elasticbeanstalk/model/EnvironmentInfoType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElasticBeanstalk {
16namespace Model {
17
25 public:
26 AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "RetrieveEnvironmentInfo"; }
33
34 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
48 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
49 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
50 template <typename EnvironmentIdT = Aws::String>
51 void SetEnvironmentId(EnvironmentIdT&& value) {
52 m_environmentIdHasBeenSet = true;
53 m_environmentId = std::forward<EnvironmentIdT>(value);
54 }
55 template <typename EnvironmentIdT = Aws::String>
57 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
58 return *this;
59 }
61
63
70 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
71 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
72 template <typename EnvironmentNameT = Aws::String>
73 void SetEnvironmentName(EnvironmentNameT&& value) {
74 m_environmentNameHasBeenSet = true;
75 m_environmentName = std::forward<EnvironmentNameT>(value);
76 }
77 template <typename EnvironmentNameT = Aws::String>
79 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
80 return *this;
81 }
83
85
88 inline EnvironmentInfoType GetInfoType() const { return m_infoType; }
89 inline bool InfoTypeHasBeenSet() const { return m_infoTypeHasBeenSet; }
90 inline void SetInfoType(EnvironmentInfoType value) {
91 m_infoTypeHasBeenSet = true;
92 m_infoType = value;
93 }
95 SetInfoType(value);
96 return *this;
97 }
99 private:
100 Aws::String m_environmentId;
101
102 Aws::String m_environmentName;
103
105 bool m_environmentIdHasBeenSet = false;
106 bool m_environmentNameHasBeenSet = false;
107 bool m_infoTypeHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ElasticBeanstalk
112} // namespace Aws
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
RetrieveEnvironmentInfoRequest & WithEnvironmentId(EnvironmentIdT &&value)
AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoRequest()=default
RetrieveEnvironmentInfoRequest & WithInfoType(EnvironmentInfoType value)
RetrieveEnvironmentInfoRequest & WithEnvironmentName(EnvironmentNameT &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String