AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Deployment.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticBeanstalk
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICBEANSTALK_API Deployment() = default;
37 AWS_ELASTICBEANSTALK_API Deployment(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICBEANSTALK_API Deployment& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
49 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
50 template<typename VersionLabelT = Aws::String>
51 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
52 template<typename VersionLabelT = Aws::String>
53 Deployment& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
55
57
61 inline long long GetDeploymentId() const { return m_deploymentId; }
62 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
63 inline void SetDeploymentId(long long value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
64 inline Deployment& WithDeploymentId(long long value) { SetDeploymentId(value); return *this;}
66
68
74 inline const Aws::String& GetStatus() const { return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 template<typename StatusT = Aws::String>
77 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
78 template<typename StatusT = Aws::String>
79 Deployment& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetDeploymentTime() const { return m_deploymentTime; }
88 inline bool DeploymentTimeHasBeenSet() const { return m_deploymentTimeHasBeenSet; }
89 template<typename DeploymentTimeT = Aws::Utils::DateTime>
90 void SetDeploymentTime(DeploymentTimeT&& value) { m_deploymentTimeHasBeenSet = true; m_deploymentTime = std::forward<DeploymentTimeT>(value); }
91 template<typename DeploymentTimeT = Aws::Utils::DateTime>
92 Deployment& WithDeploymentTime(DeploymentTimeT&& value) { SetDeploymentTime(std::forward<DeploymentTimeT>(value)); return *this;}
94 private:
95
96 Aws::String m_versionLabel;
97 bool m_versionLabelHasBeenSet = false;
98
99 long long m_deploymentId{0};
100 bool m_deploymentIdHasBeenSet = false;
101
102 Aws::String m_status;
103 bool m_statusHasBeenSet = false;
104
105 Aws::Utils::DateTime m_deploymentTime{};
106 bool m_deploymentTimeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ElasticBeanstalk
111} // namespace Aws
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Deployment & WithDeploymentId(long long value)
Definition Deployment.h:64
Deployment & WithDeploymentTime(DeploymentTimeT &&value)
Definition Deployment.h:92
const Aws::Utils::DateTime & GetDeploymentTime() const
Definition Deployment.h:87
void SetDeploymentTime(DeploymentTimeT &&value)
Definition Deployment.h:90
AWS_ELASTICBEANSTALK_API Deployment(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API Deployment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Deployment & WithVersionLabel(VersionLabelT &&value)
Definition Deployment.h:53
void SetVersionLabel(VersionLabelT &&value)
Definition Deployment.h:51
AWS_ELASTICBEANSTALK_API Deployment()=default
void SetDeploymentId(long long value)
Definition Deployment.h:63
const Aws::String & GetVersionLabel() const
Definition Deployment.h:48
const Aws::String & GetStatus() const
Definition Deployment.h:74
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Deployment & WithStatus(StatusT &&value)
Definition Deployment.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream