AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPlatformName(const Aws::String& value) { m_platformNameHasBeenSet = true; m_platformName = value; }
50 inline void SetPlatformName(Aws::String&& value) { m_platformNameHasBeenSet = true; m_platformName = std::move(value); }
51 inline void SetPlatformName(const char* value) { m_platformNameHasBeenSet = true; m_platformName.assign(value); }
52 inline PlatformBranchSummary& WithPlatformName(const Aws::String& value) { SetPlatformName(value); return *this;}
53 inline PlatformBranchSummary& WithPlatformName(Aws::String&& value) { SetPlatformName(std::move(value)); return *this;}
54 inline PlatformBranchSummary& WithPlatformName(const char* value) { SetPlatformName(value); return *this;}
56
58
61 inline const Aws::String& GetBranchName() const{ return m_branchName; }
62 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
63 inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
64 inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
65 inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
66 inline PlatformBranchSummary& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
67 inline PlatformBranchSummary& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
68 inline PlatformBranchSummary& WithBranchName(const char* value) { SetBranchName(value); return *this;}
70
72
77 inline const Aws::String& GetLifecycleState() const{ return m_lifecycleState; }
78 inline bool LifecycleStateHasBeenSet() const { return m_lifecycleStateHasBeenSet; }
79 inline void SetLifecycleState(const Aws::String& value) { m_lifecycleStateHasBeenSet = true; m_lifecycleState = value; }
80 inline void SetLifecycleState(Aws::String&& value) { m_lifecycleStateHasBeenSet = true; m_lifecycleState = std::move(value); }
81 inline void SetLifecycleState(const char* value) { m_lifecycleStateHasBeenSet = true; m_lifecycleState.assign(value); }
82 inline PlatformBranchSummary& WithLifecycleState(const Aws::String& value) { SetLifecycleState(value); return *this;}
83 inline PlatformBranchSummary& WithLifecycleState(Aws::String&& value) { SetLifecycleState(std::move(value)); return *this;}
84 inline PlatformBranchSummary& WithLifecycleState(const char* value) { SetLifecycleState(value); return *this;}
86
88
95 inline int GetBranchOrder() const{ return m_branchOrder; }
96 inline bool BranchOrderHasBeenSet() const { return m_branchOrderHasBeenSet; }
97 inline void SetBranchOrder(int value) { m_branchOrderHasBeenSet = true; m_branchOrder = value; }
98 inline PlatformBranchSummary& WithBranchOrder(int value) { SetBranchOrder(value); return *this;}
100
102
107 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const{ return m_supportedTierList; }
108 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
109 inline void SetSupportedTierList(const Aws::Vector<Aws::String>& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList = value; }
110 inline void SetSupportedTierList(Aws::Vector<Aws::String>&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList = std::move(value); }
113 inline PlatformBranchSummary& AddSupportedTierList(const Aws::String& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.push_back(value); return *this; }
114 inline PlatformBranchSummary& AddSupportedTierList(Aws::String&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.push_back(std::move(value)); return *this; }
115 inline PlatformBranchSummary& AddSupportedTierList(const char* value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.push_back(value); return *this; }
117 private:
118
119 Aws::String m_platformName;
120 bool m_platformNameHasBeenSet = false;
121
122 Aws::String m_branchName;
123 bool m_branchNameHasBeenSet = false;
124
125 Aws::String m_lifecycleState;
126 bool m_lifecycleStateHasBeenSet = false;
127
128 int m_branchOrder;
129 bool m_branchOrderHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_supportedTierList;
132 bool m_supportedTierListHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace ElasticBeanstalk
137} // namespace Aws
const Aws::Vector< Aws::String > & GetSupportedTierList() const
PlatformBranchSummary & WithPlatformName(const Aws::String &value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PlatformBranchSummary & WithBranchName(Aws::String &&value)
void SetSupportedTierList(Aws::Vector< Aws::String > &&value)
PlatformBranchSummary & AddSupportedTierList(const char *value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PlatformBranchSummary & AddSupportedTierList(Aws::String &&value)
AWS_ELASTICBEANSTALK_API PlatformBranchSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PlatformBranchSummary & WithBranchName(const char *value)
PlatformBranchSummary & AddSupportedTierList(const Aws::String &value)
PlatformBranchSummary & WithBranchName(const Aws::String &value)
PlatformBranchSummary & WithSupportedTierList(const Aws::Vector< Aws::String > &value)
PlatformBranchSummary & WithPlatformName(const char *value)
PlatformBranchSummary & WithSupportedTierList(Aws::Vector< Aws::String > &&value)
void SetSupportedTierList(const Aws::Vector< Aws::String > &value)
PlatformBranchSummary & WithLifecycleState(const Aws::String &value)
AWS_ELASTICBEANSTALK_API PlatformBranchSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
PlatformBranchSummary & WithLifecycleState(Aws::String &&value)
PlatformBranchSummary & WithLifecycleState(const char *value)
PlatformBranchSummary & WithPlatformName(Aws::String &&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