AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Certificate.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticLoadBalancingv2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ELASTICLOADBALANCINGV2_API Certificate();
35 AWS_ELASTICLOADBALANCINGV2_API Certificate(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICLOADBALANCINGV2_API Certificate& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
47 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
48 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
49 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
50 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
51 inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
52 inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
53 inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
55
57
63 inline bool GetIsDefault() const{ return m_isDefault; }
64 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
65 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
66 inline Certificate& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
68 private:
69
70 Aws::String m_certificateArn;
71 bool m_certificateArnHasBeenSet = false;
72
73 bool m_isDefault;
74 bool m_isDefaultHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ElasticLoadBalancingv2
79} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API Certificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Certificate & WithCertificateArn(Aws::String &&value)
Definition Certificate.h:52
Certificate & WithCertificateArn(const Aws::String &value)
Definition Certificate.h:51
void SetCertificateArn(const Aws::String &value)
Definition Certificate.h:48
AWS_ELASTICLOADBALANCINGV2_API Certificate(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetCertificateArn() const
Definition Certificate.h:46
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Certificate & WithCertificateArn(const char *value)
Definition Certificate.h:53
AWS_ELASTICLOADBALANCINGV2_API Certificate()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream