AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PlatformBranchSummary.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/memory/stl/AWSVector.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
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API PlatformBranchSummary() = default;
36 AWS_ELASTICBEANSTALK_API PlatformBranchSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API PlatformBranchSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetPlatformName() const { return m_platformName; }
48 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
49 template<typename PlatformNameT = Aws::String>
50 void SetPlatformName(PlatformNameT&& value) { m_platformNameHasBeenSet = true; m_platformName = std::forward<PlatformNameT>(value); }
51 template<typename PlatformNameT = Aws::String>
52 PlatformBranchSummary& WithPlatformName(PlatformNameT&& value) { SetPlatformName(std::forward<PlatformNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetBranchName() const { return m_branchName; }
60 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
61 template<typename BranchNameT = Aws::String>
62 void SetBranchName(BranchNameT&& value) { m_branchNameHasBeenSet = true; m_branchName = std::forward<BranchNameT>(value); }
63 template<typename BranchNameT = Aws::String>
64 PlatformBranchSummary& WithBranchName(BranchNameT&& value) { SetBranchName(std::forward<BranchNameT>(value)); return *this;}
66
68
73 inline const Aws::String& GetLifecycleState() const { return m_lifecycleState; }
74 inline bool LifecycleStateHasBeenSet() const { return m_lifecycleStateHasBeenSet; }
75 template<typename LifecycleStateT = Aws::String>
76 void SetLifecycleState(LifecycleStateT&& value) { m_lifecycleStateHasBeenSet = true; m_lifecycleState = std::forward<LifecycleStateT>(value); }
77 template<typename LifecycleStateT = Aws::String>
78 PlatformBranchSummary& WithLifecycleState(LifecycleStateT&& value) { SetLifecycleState(std::forward<LifecycleStateT>(value)); return *this;}
80
82
89 inline int GetBranchOrder() const { return m_branchOrder; }
90 inline bool BranchOrderHasBeenSet() const { return m_branchOrderHasBeenSet; }
91 inline void SetBranchOrder(int value) { m_branchOrderHasBeenSet = true; m_branchOrder = value; }
92 inline PlatformBranchSummary& WithBranchOrder(int value) { SetBranchOrder(value); return *this;}
94
96
101 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const { return m_supportedTierList; }
102 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
103 template<typename SupportedTierListT = Aws::Vector<Aws::String>>
104 void SetSupportedTierList(SupportedTierListT&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList = std::forward<SupportedTierListT>(value); }
105 template<typename SupportedTierListT = Aws::Vector<Aws::String>>
106 PlatformBranchSummary& WithSupportedTierList(SupportedTierListT&& value) { SetSupportedTierList(std::forward<SupportedTierListT>(value)); return *this;}
107 template<typename SupportedTierListT = Aws::String>
108 PlatformBranchSummary& AddSupportedTierList(SupportedTierListT&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.emplace_back(std::forward<SupportedTierListT>(value)); return *this; }
110 private:
111
112 Aws::String m_platformName;
113 bool m_platformNameHasBeenSet = false;
114
115 Aws::String m_branchName;
116 bool m_branchNameHasBeenSet = false;
117
118 Aws::String m_lifecycleState;
119 bool m_lifecycleStateHasBeenSet = false;
120
121 int m_branchOrder{0};
122 bool m_branchOrderHasBeenSet = false;
123
124 Aws::Vector<Aws::String> m_supportedTierList;
125 bool m_supportedTierListHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace ElasticBeanstalk
130} // namespace Aws
const Aws::Vector< Aws::String > & GetSupportedTierList() const
PlatformBranchSummary & WithPlatformName(PlatformNameT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PlatformBranchSummary & WithSupportedTierList(SupportedTierListT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PlatformBranchSummary & AddSupportedTierList(SupportedTierListT &&value)
AWS_ELASTICBEANSTALK_API PlatformBranchSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PlatformBranchSummary & WithBranchName(BranchNameT &&value)
AWS_ELASTICBEANSTALK_API PlatformBranchSummary()=default
AWS_ELASTICBEANSTALK_API PlatformBranchSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
PlatformBranchSummary & WithLifecycleState(LifecycleStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream