AWS SDK for C++  1.9.175
AWS SDK for C++
Deployment.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace ElasticBeanstalk
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
48 
52  inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
53 
57  inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
58 
62  inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
63 
67  inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
68 
72  inline Deployment& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
73 
77  inline Deployment& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
78 
82  inline Deployment& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
83 
84 
89  inline long long GetDeploymentId() const{ return m_deploymentId; }
90 
95  inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
96 
101  inline void SetDeploymentId(long long value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
102 
107  inline Deployment& WithDeploymentId(long long value) { SetDeploymentId(value); return *this;}
108 
109 
116  inline const Aws::String& GetStatus() const{ return m_status; }
117 
124  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
125 
132  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
133 
140  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
141 
148  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
149 
156  inline Deployment& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
157 
164  inline Deployment& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
165 
172  inline Deployment& WithStatus(const char* value) { SetStatus(value); return *this;}
173 
174 
179  inline const Aws::Utils::DateTime& GetDeploymentTime() const{ return m_deploymentTime; }
180 
185  inline bool DeploymentTimeHasBeenSet() const { return m_deploymentTimeHasBeenSet; }
186 
191  inline void SetDeploymentTime(const Aws::Utils::DateTime& value) { m_deploymentTimeHasBeenSet = true; m_deploymentTime = value; }
192 
197  inline void SetDeploymentTime(Aws::Utils::DateTime&& value) { m_deploymentTimeHasBeenSet = true; m_deploymentTime = std::move(value); }
198 
203  inline Deployment& WithDeploymentTime(const Aws::Utils::DateTime& value) { SetDeploymentTime(value); return *this;}
204 
209  inline Deployment& WithDeploymentTime(Aws::Utils::DateTime&& value) { SetDeploymentTime(std::move(value)); return *this;}
210 
211  private:
212 
213  Aws::String m_versionLabel;
214  bool m_versionLabelHasBeenSet;
215 
216  long long m_deploymentId;
217  bool m_deploymentIdHasBeenSet;
218 
219  Aws::String m_status;
220  bool m_statusHasBeenSet;
221 
222  Aws::Utils::DateTime m_deploymentTime;
223  bool m_deploymentTimeHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace ElasticBeanstalk
228 } // namespace Aws
Aws::ElasticBeanstalk::Model::Deployment::SetStatus
void SetStatus(Aws::String &&value)
Definition: Deployment.h:140
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ElasticBeanstalk::Model::Deployment::WithVersionLabel
Deployment & WithVersionLabel(Aws::String &&value)
Definition: Deployment.h:77
Aws::ElasticBeanstalk::Model::Deployment
Definition: Deployment.h:34
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::Deployment::SetDeploymentTime
void SetDeploymentTime(Aws::Utils::DateTime &&value)
Definition: Deployment.h:197
Aws::ElasticBeanstalk::Model::Deployment::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::Deployment::WithStatus
Deployment & WithStatus(const Aws::String &value)
Definition: Deployment.h:156
Aws::ElasticBeanstalk::Model::Deployment::GetStatus
const Aws::String & GetStatus() const
Definition: Deployment.h:116
DateTime.h
Aws::ElasticBeanstalk::Model::Deployment::GetDeploymentId
long long GetDeploymentId() const
Definition: Deployment.h:89
Aws::ElasticBeanstalk::Model::Deployment::SetVersionLabel
void SetVersionLabel(const char *value)
Definition: Deployment.h:67
Aws::ElasticBeanstalk::Model::Deployment::SetStatus
void SetStatus(const Aws::String &value)
Definition: Deployment.h:132
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::Deployment::DeploymentTimeHasBeenSet
bool DeploymentTimeHasBeenSet() const
Definition: Deployment.h:185
Aws::ElasticBeanstalk::Model::Deployment::WithVersionLabel
Deployment & WithVersionLabel(const char *value)
Definition: Deployment.h:82
Aws::ElasticBeanstalk::Model::Deployment::SetStatus
void SetStatus(const char *value)
Definition: Deployment.h:148
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::Deployment::SetDeploymentId
void SetDeploymentId(long long value)
Definition: Deployment.h:101
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::Deployment::DeploymentIdHasBeenSet
bool DeploymentIdHasBeenSet() const
Definition: Deployment.h:95
Aws::ElasticBeanstalk::Model::Deployment::VersionLabelHasBeenSet
bool VersionLabelHasBeenSet() const
Definition: Deployment.h:52
Aws::ElasticBeanstalk::Model::Deployment::operator=
Deployment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::Deployment::WithStatus
Deployment & WithStatus(const char *value)
Definition: Deployment.h:172
Aws::ElasticBeanstalk::Model::Deployment::GetDeploymentTime
const Aws::Utils::DateTime & GetDeploymentTime() const
Definition: Deployment.h:179
Aws::ElasticBeanstalk::Model::Deployment::WithDeploymentTime
Deployment & WithDeploymentTime(Aws::Utils::DateTime &&value)
Definition: Deployment.h:209
AWSString.h
Aws::ElasticBeanstalk::Model::Deployment::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::Deployment::SetDeploymentTime
void SetDeploymentTime(const Aws::Utils::DateTime &value)
Definition: Deployment.h:191
Aws::ElasticBeanstalk::Model::Deployment::SetVersionLabel
void SetVersionLabel(const Aws::String &value)
Definition: Deployment.h:57
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::Deployment::WithDeploymentTime
Deployment & WithDeploymentTime(const Aws::Utils::DateTime &value)
Definition: Deployment.h:203
Aws::ElasticBeanstalk::Model::Deployment::Deployment
Deployment()
Aws::ElasticBeanstalk::Model::Deployment::Deployment
Deployment(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::Deployment::WithDeploymentId
Deployment & WithDeploymentId(long long value)
Definition: Deployment.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::Deployment::WithVersionLabel
Deployment & WithVersionLabel(const Aws::String &value)
Definition: Deployment.h:72
Aws::ElasticBeanstalk::Model::Deployment::GetVersionLabel
const Aws::String & GetVersionLabel() const
Definition: Deployment.h:47
Aws::ElasticBeanstalk::Model::Deployment::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Deployment.h:124
Aws::ElasticBeanstalk::Model::Deployment::WithStatus
Deployment & WithStatus(Aws::String &&value)
Definition: Deployment.h:164
Aws::ElasticBeanstalk::Model::Deployment::SetVersionLabel
void SetVersionLabel(Aws::String &&value)
Definition: Deployment.h:62