AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
51 inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
52 inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
53 inline Deployment& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
54 inline Deployment& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
55 inline Deployment& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
57
59
63 inline long long GetDeploymentId() const{ return m_deploymentId; }
64 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
65 inline void SetDeploymentId(long long value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
66 inline Deployment& WithDeploymentId(long long value) { SetDeploymentId(value); return *this;}
68
70
76 inline const Aws::String& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
81 inline Deployment& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
82 inline Deployment& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
83 inline Deployment& WithStatus(const char* value) { SetStatus(value); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetDeploymentTime() const{ return m_deploymentTime; }
92 inline bool DeploymentTimeHasBeenSet() const { return m_deploymentTimeHasBeenSet; }
93 inline void SetDeploymentTime(const Aws::Utils::DateTime& value) { m_deploymentTimeHasBeenSet = true; m_deploymentTime = value; }
94 inline void SetDeploymentTime(Aws::Utils::DateTime&& value) { m_deploymentTimeHasBeenSet = true; m_deploymentTime = std::move(value); }
95 inline Deployment& WithDeploymentTime(const Aws::Utils::DateTime& value) { SetDeploymentTime(value); return *this;}
96 inline Deployment& WithDeploymentTime(Aws::Utils::DateTime&& value) { SetDeploymentTime(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_versionLabel;
101 bool m_versionLabelHasBeenSet = false;
102
103 long long m_deploymentId;
104 bool m_deploymentIdHasBeenSet = false;
105
106 Aws::String m_status;
107 bool m_statusHasBeenSet = false;
108
109 Aws::Utils::DateTime m_deploymentTime;
110 bool m_deploymentTimeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ElasticBeanstalk
115} // namespace Aws
Deployment & WithStatus(Aws::String &&value)
Definition Deployment.h:82
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:66
void SetStatus(const Aws::String &value)
Definition Deployment.h:78
const Aws::Utils::DateTime & GetDeploymentTime() const
Definition Deployment.h:91
AWS_ELASTICBEANSTALK_API Deployment(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API Deployment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Deployment & WithStatus(const char *value)
Definition Deployment.h:83
Deployment & WithVersionLabel(const Aws::String &value)
Definition Deployment.h:53
Deployment & WithVersionLabel(Aws::String &&value)
Definition Deployment.h:54
void SetVersionLabel(const char *value)
Definition Deployment.h:52
void SetDeploymentTime(const Aws::Utils::DateTime &value)
Definition Deployment.h:93
void SetVersionLabel(const Aws::String &value)
Definition Deployment.h:50
Deployment & WithStatus(const Aws::String &value)
Definition Deployment.h:81
void SetDeploymentId(long long value)
Definition Deployment.h:65
void SetStatus(const char *value)
Definition Deployment.h:80
const Aws::String & GetVersionLabel() const
Definition Deployment.h:48
Deployment & WithDeploymentTime(Aws::Utils::DateTime &&value)
Definition Deployment.h:96
const Aws::String & GetStatus() const
Definition Deployment.h:76
Deployment & WithVersionLabel(const char *value)
Definition Deployment.h:55
void SetVersionLabel(Aws::String &&value)
Definition Deployment.h:51
void SetDeploymentTime(Aws::Utils::DateTime &&value)
Definition Deployment.h:94
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Deployment & WithDeploymentTime(const Aws::Utils::DateTime &value)
Definition Deployment.h:95
void SetStatus(Aws::String &&value)
Definition Deployment.h:79
AWS_ELASTICBEANSTALK_API Deployment()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream