AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobTemplateSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API JobTemplateSummary();
40
41
43
46 inline const Aws::String& GetJobTemplateArn() const{ return m_jobTemplateArn; }
47 inline bool JobTemplateArnHasBeenSet() const { return m_jobTemplateArnHasBeenSet; }
48 inline void SetJobTemplateArn(const Aws::String& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = value; }
49 inline void SetJobTemplateArn(Aws::String&& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = std::move(value); }
50 inline void SetJobTemplateArn(const char* value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn.assign(value); }
51 inline JobTemplateSummary& WithJobTemplateArn(const Aws::String& value) { SetJobTemplateArn(value); return *this;}
52 inline JobTemplateSummary& WithJobTemplateArn(Aws::String&& value) { SetJobTemplateArn(std::move(value)); return *this;}
53 inline JobTemplateSummary& WithJobTemplateArn(const char* value) { SetJobTemplateArn(value); return *this;}
55
57
60 inline const Aws::String& GetJobTemplateId() const{ return m_jobTemplateId; }
61 inline bool JobTemplateIdHasBeenSet() const { return m_jobTemplateIdHasBeenSet; }
62 inline void SetJobTemplateId(const Aws::String& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = value; }
63 inline void SetJobTemplateId(Aws::String&& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = std::move(value); }
64 inline void SetJobTemplateId(const char* value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId.assign(value); }
65 inline JobTemplateSummary& WithJobTemplateId(const Aws::String& value) { SetJobTemplateId(value); return *this;}
66 inline JobTemplateSummary& WithJobTemplateId(Aws::String&& value) { SetJobTemplateId(std::move(value)); return *this;}
67 inline JobTemplateSummary& WithJobTemplateId(const char* value) { SetJobTemplateId(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline JobTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline JobTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline JobTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
89 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
90 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
91 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
92 inline JobTemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
93 inline JobTemplateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_jobTemplateArn;
98 bool m_jobTemplateArnHasBeenSet = false;
99
100 Aws::String m_jobTemplateId;
101 bool m_jobTemplateIdHasBeenSet = false;
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Aws::Utils::DateTime m_createdAt;
107 bool m_createdAtHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace IoT
112} // namespace Aws
AWS_IOT_API JobTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
void SetJobTemplateId(const Aws::String &value)
JobTemplateSummary & WithJobTemplateId(const char *value)
void SetDescription(const Aws::String &value)
JobTemplateSummary & WithDescription(Aws::String &&value)
JobTemplateSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetJobTemplateArn() const
AWS_IOT_API JobTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
JobTemplateSummary & WithJobTemplateArn(const char *value)
JobTemplateSummary & WithDescription(const char *value)
JobTemplateSummary & WithJobTemplateArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetJobTemplateId(Aws::String &&value)
const Aws::String & GetDescription() const
void SetJobTemplateArn(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetJobTemplateArn(Aws::String &&value)
JobTemplateSummary & WithJobTemplateId(Aws::String &&value)
JobTemplateSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
JobTemplateSummary & WithJobTemplateId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetJobTemplateArn(const Aws::String &value)
JobTemplateSummary & WithJobTemplateArn(const Aws::String &value)
const Aws::String & GetJobTemplateId() const
void SetJobTemplateId(const char *value)
JobTemplateSummary & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue