AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateSummary.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcases/model/TemplateStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCases
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCASES_API TemplateSummary();
36 AWS_CONNECTCASES_API TemplateSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCASES_API TemplateSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline TemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline TemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline TemplateSummary& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const TemplateStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const TemplateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(TemplateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline TemplateSummary& WithStatus(const TemplateStatus& value) { SetStatus(value); return *this;}
64 inline TemplateSummary& WithStatus(TemplateStatus&& value) { SetStatus(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
72 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
73 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
74 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
75 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
76 inline TemplateSummary& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
77 inline TemplateSummary& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
78 inline TemplateSummary& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
80
82
85 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
86 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
87 inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
88 inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
89 inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
90 inline TemplateSummary& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
91 inline TemplateSummary& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
92 inline TemplateSummary& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
94 private:
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 TemplateStatus m_status;
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_templateArn;
103 bool m_templateArnHasBeenSet = false;
104
105 Aws::String m_templateId;
106 bool m_templateIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ConnectCases
111} // namespace Aws
void SetTemplateId(const Aws::String &value)
TemplateSummary & WithTemplateId(const char *value)
TemplateSummary & WithTemplateId(const Aws::String &value)
const Aws::String & GetTemplateId() const
TemplateSummary & WithName(const char *value)
TemplateSummary & WithTemplateId(Aws::String &&value)
void SetStatus(const TemplateStatus &value)
TemplateSummary & WithName(Aws::String &&value)
TemplateSummary & WithTemplateArn(const Aws::String &value)
void SetName(const Aws::String &value)
TemplateSummary & WithTemplateArn(Aws::String &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTemplateArn() const
TemplateSummary & WithName(const Aws::String &value)
TemplateSummary & WithStatus(TemplateStatus &&value)
AWS_CONNECTCASES_API TemplateSummary(Aws::Utils::Json::JsonView jsonValue)
const TemplateStatus & GetStatus() const
TemplateSummary & WithStatus(const TemplateStatus &value)
TemplateSummary & WithTemplateArn(const char *value)
void SetStatus(TemplateStatus &&value)
AWS_CONNECTCASES_API TemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue