AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationResourceLifecycleConfig.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/elasticbeanstalk/model/ApplicationVersionLifecycleConfig.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
37 {
38 public:
39 AWS_ELASTICBEANSTALK_API ApplicationResourceLifecycleConfig();
40 AWS_ELASTICBEANSTALK_API ApplicationResourceLifecycleConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
59 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
60 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
61 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
62 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
63 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
65 inline ApplicationResourceLifecycleConfig& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
66 inline ApplicationResourceLifecycleConfig& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
68
70
73 inline const ApplicationVersionLifecycleConfig& GetVersionLifecycleConfig() const{ return m_versionLifecycleConfig; }
74 inline bool VersionLifecycleConfigHasBeenSet() const { return m_versionLifecycleConfigHasBeenSet; }
75 inline void SetVersionLifecycleConfig(const ApplicationVersionLifecycleConfig& value) { m_versionLifecycleConfigHasBeenSet = true; m_versionLifecycleConfig = value; }
76 inline void SetVersionLifecycleConfig(ApplicationVersionLifecycleConfig&& value) { m_versionLifecycleConfigHasBeenSet = true; m_versionLifecycleConfig = std::move(value); }
80 private:
81
82 Aws::String m_serviceRole;
83 bool m_serviceRoleHasBeenSet = false;
84
85 ApplicationVersionLifecycleConfig m_versionLifecycleConfig;
86 bool m_versionLifecycleConfigHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ElasticBeanstalk
91} // namespace Aws
ApplicationResourceLifecycleConfig & WithServiceRole(const Aws::String &value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVersionLifecycleConfig(const ApplicationVersionLifecycleConfig &value)
ApplicationResourceLifecycleConfig & WithServiceRole(Aws::String &&value)
ApplicationResourceLifecycleConfig & WithVersionLifecycleConfig(ApplicationVersionLifecycleConfig &&value)
AWS_ELASTICBEANSTALK_API ApplicationResourceLifecycleConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationResourceLifecycleConfig & WithVersionLifecycleConfig(const ApplicationVersionLifecycleConfig &value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API ApplicationResourceLifecycleConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationResourceLifecycleConfig & WithServiceRole(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream