AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
Cluster.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk {
20namespace Model {
21
28class Cluster {
29 public:
30 AWS_ELASTICBEANSTALK_API Cluster() = default;
31 AWS_ELASTICBEANSTALK_API Cluster(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ELASTICBEANSTALK_API Cluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
35 const char* locationValue) const;
36 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
42 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
43 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
44 template <typename ClusterArnT = Aws::String>
45 void SetClusterArn(ClusterArnT&& value) {
46 m_clusterArnHasBeenSet = true;
47 m_clusterArn = std::forward<ClusterArnT>(value);
48 }
49 template <typename ClusterArnT = Aws::String>
50 Cluster& WithClusterArn(ClusterArnT&& value) {
51 SetClusterArn(std::forward<ClusterArnT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_clusterArn;
57 bool m_clusterArnHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace ElasticBeanstalk
62} // namespace Aws
const Aws::String & GetClusterArn() const
Definition Cluster.h:42
Cluster & WithClusterArn(ClusterArnT &&value)
Definition Cluster.h:50
void SetClusterArn(ClusterArnT &&value)
Definition Cluster.h:45
AWS_ELASTICBEANSTALK_API Cluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API Cluster()=default
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API Cluster(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream