AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ELBInfo.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeDeploy
22{
23namespace Model
24{
25
33 class ELBInfo
34 {
35 public:
40
41
49 inline const Aws::String& GetName() const{ return m_name; }
50
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86
94 inline ELBInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
95
103 inline ELBInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
104
112 inline ELBInfo& WithName(const char* value) { SetName(value); return *this;}
113
114 private:
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace CodeDeploy
122} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
ELBInfo & WithName(Aws::String &&value)
Definition: ELBInfo.h:103
void SetName(const char *value)
Definition: ELBInfo.h:85
AWS_CODEDEPLOY_API ELBInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ELBInfo & WithName(const Aws::String &value)
Definition: ELBInfo.h:94
const Aws::String & GetName() const
Definition: ELBInfo.h:49
void SetName(Aws::String &&value)
Definition: ELBInfo.h:76
ELBInfo & WithName(const char *value)
Definition: ELBInfo.h:112
AWS_CODEDEPLOY_API ELBInfo()
void SetName(const Aws::String &value)
Definition: ELBInfo.h:67
AWS_CODEDEPLOY_API ELBInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String