AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestEnvironmentInfoRequest.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 RequestEnvironmentInfoRequest();
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 "RequestEnvironmentInfo"; }
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); }
57 inline RequestEnvironmentInfoRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
58 inline RequestEnvironmentInfoRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
59 inline RequestEnvironmentInfoRequest& 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 RequestEnvironmentInfoRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
77 inline RequestEnvironmentInfoRequest& 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 RequestEnvironmentInfoRequest& WithInfoType(const EnvironmentInfoType& value) { SetInfoType(value); return *this;}
89 inline RequestEnvironmentInfoRequest& 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
RequestEnvironmentInfoRequest & WithEnvironmentName(Aws::String &&value)
RequestEnvironmentInfoRequest & WithEnvironmentName(const Aws::String &value)
RequestEnvironmentInfoRequest & WithEnvironmentName(const char *value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
RequestEnvironmentInfoRequest & WithEnvironmentId(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RequestEnvironmentInfoRequest & WithInfoType(const EnvironmentInfoType &value)
RequestEnvironmentInfoRequest & WithEnvironmentId(const Aws::String &value)
RequestEnvironmentInfoRequest & WithEnvironmentId(const char *value)
RequestEnvironmentInfoRequest & WithInfoType(EnvironmentInfoType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String