AWS SDK for C++  1.9.16
AWS SDK for C++
LoadBalancerTlsCertificateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lightsail
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline LoadBalancerTlsCertificateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline LoadBalancerTlsCertificateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline LoadBalancerTlsCertificateSummary& WithName(const char* value) { SetName(value); return *this;}
80 
81 
86  inline bool GetIsAttached() const{ return m_isAttached; }
87 
92  inline bool IsAttachedHasBeenSet() const { return m_isAttachedHasBeenSet; }
93 
98  inline void SetIsAttached(bool value) { m_isAttachedHasBeenSet = true; m_isAttached = value; }
99 
104  inline LoadBalancerTlsCertificateSummary& WithIsAttached(bool value) { SetIsAttached(value); return *this;}
105 
106  private:
107 
108  Aws::String m_name;
109  bool m_nameHasBeenSet;
110 
111  bool m_isAttached;
112  bool m_isAttachedHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace Lightsail
117 } // namespace Aws
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::WithIsAttached
LoadBalancerTlsCertificateSummary & WithIsAttached(bool value)
Definition: LoadBalancerTlsCertificateSummary.h:104
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::SetName
void SetName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateSummary.h:54
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::IsAttachedHasBeenSet
bool IsAttachedHasBeenSet() const
Definition: LoadBalancerTlsCertificateSummary.h:92
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::operator=
LoadBalancerTlsCertificateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: LoadBalancerTlsCertificateSummary.h:49
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::WithName
LoadBalancerTlsCertificateSummary & WithName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateSummary.h:69
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::SetIsAttached
void SetIsAttached(bool value)
Definition: LoadBalancerTlsCertificateSummary.h:98
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::WithName
LoadBalancerTlsCertificateSummary & WithName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateSummary.h:74
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::SetName
void SetName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateSummary.h:59
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::LoadBalancerTlsCertificateSummary
LoadBalancerTlsCertificateSummary()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::SetName
void SetName(const char *value)
Definition: LoadBalancerTlsCertificateSummary.h:64
Lightsail_EXPORTS.h
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::GetIsAttached
bool GetIsAttached() const
Definition: LoadBalancerTlsCertificateSummary.h:86
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::WithName
LoadBalancerTlsCertificateSummary & WithName(const char *value)
Definition: LoadBalancerTlsCertificateSummary.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::GetName
const Aws::String & GetName() const
Definition: LoadBalancerTlsCertificateSummary.h:44
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary::LoadBalancerTlsCertificateSummary
LoadBalancerTlsCertificateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::LoadBalancerTlsCertificateSummary
Definition: LoadBalancerTlsCertificateSummary.h:33