AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
TargetGroupInfo.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
34 {
35 public:
40
41
50 inline const Aws::String& GetName() const{ return m_name; }
51
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61
70 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81
90 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
91
100 inline TargetGroupInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
101
110 inline TargetGroupInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111
120 inline TargetGroupInfo& WithName(const char* value) { SetName(value); return *this;}
121
122 private:
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace CodeDeploy
130} // namespace Aws
#define AWS_CODEDEPLOY_API
TargetGroupInfo & WithName(Aws::String &&value)
TargetGroupInfo & WithName(const Aws::String &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
TargetGroupInfo & WithName(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
AWS_CODEDEPLOY_API TargetGroupInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API TargetGroupInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String