AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskTemplateMetadata.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/TaskTemplateStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECT_API TaskTemplateMetadata();
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline TaskTemplateMetadata& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline TaskTemplateMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline TaskTemplateMetadata& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline TaskTemplateMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline TaskTemplateMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline TaskTemplateMetadata& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline TaskTemplateMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline TaskTemplateMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline TaskTemplateMetadata& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline TaskTemplateMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline TaskTemplateMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline TaskTemplateMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
106 inline const TaskTemplateStatus& GetStatus() const{ return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(const TaskTemplateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
109 inline void SetStatus(TaskTemplateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
110 inline TaskTemplateMetadata& WithStatus(const TaskTemplateStatus& value) { SetStatus(value); return *this;}
111 inline TaskTemplateMetadata& WithStatus(TaskTemplateStatus&& value) { SetStatus(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
119 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
120 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
121 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
123 inline TaskTemplateMetadata& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
131 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
132 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
133 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
134 inline TaskTemplateMetadata& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
135 inline TaskTemplateMetadata& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
137 private:
138
139 Aws::String m_id;
140 bool m_idHasBeenSet = false;
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 TaskTemplateStatus m_status;
152 bool m_statusHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastModifiedTime;
155 bool m_lastModifiedTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_createdTime;
158 bool m_createdTimeHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Connect
163} // namespace Aws
TaskTemplateMetadata & WithArn(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetStatus(const TaskTemplateStatus &value)
void SetDescription(const Aws::String &value)
TaskTemplateMetadata & WithStatus(TaskTemplateStatus &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
TaskTemplateMetadata & WithName(const Aws::String &value)
TaskTemplateMetadata & WithDescription(const Aws::String &value)
TaskTemplateMetadata & WithId(Aws::String &&value)
TaskTemplateMetadata & WithId(const char *value)
TaskTemplateMetadata & WithCreatedTime(const Aws::Utils::DateTime &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API TaskTemplateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskTemplateMetadata & WithName(Aws::String &&value)
TaskTemplateMetadata & WithId(const Aws::String &value)
TaskTemplateMetadata & WithArn(const Aws::String &value)
TaskTemplateMetadata & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
TaskTemplateMetadata & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetStatus(TaskTemplateStatus &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
TaskTemplateMetadata & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CONNECT_API TaskTemplateMetadata(Aws::Utils::Json::JsonView jsonValue)
TaskTemplateMetadata & WithArn(Aws::String &&value)
TaskTemplateMetadata & WithName(const char *value)
TaskTemplateMetadata & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const TaskTemplateStatus & GetStatus() const
TaskTemplateMetadata & WithLastModifiedTime(const Aws::Utils::DateTime &value)
TaskTemplateMetadata & WithStatus(const TaskTemplateStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue