AWS SDK for C++  1.9.132
AWS SDK for C++
JobTemplateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetJobTemplateArn() const{ return m_jobTemplateArn; }
46 
50  inline bool JobTemplateArnHasBeenSet() const { return m_jobTemplateArnHasBeenSet; }
51 
55  inline void SetJobTemplateArn(const Aws::String& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = value; }
56 
60  inline void SetJobTemplateArn(Aws::String&& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = std::move(value); }
61 
65  inline void SetJobTemplateArn(const char* value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn.assign(value); }
66 
70  inline JobTemplateSummary& WithJobTemplateArn(const Aws::String& value) { SetJobTemplateArn(value); return *this;}
71 
75  inline JobTemplateSummary& WithJobTemplateArn(Aws::String&& value) { SetJobTemplateArn(std::move(value)); return *this;}
76 
80  inline JobTemplateSummary& WithJobTemplateArn(const char* value) { SetJobTemplateArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetJobTemplateId() const{ return m_jobTemplateId; }
87 
91  inline bool JobTemplateIdHasBeenSet() const { return m_jobTemplateIdHasBeenSet; }
92 
96  inline void SetJobTemplateId(const Aws::String& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = value; }
97 
101  inline void SetJobTemplateId(Aws::String&& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = std::move(value); }
102 
106  inline void SetJobTemplateId(const char* value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId.assign(value); }
107 
111  inline JobTemplateSummary& WithJobTemplateId(const Aws::String& value) { SetJobTemplateId(value); return *this;}
112 
116  inline JobTemplateSummary& WithJobTemplateId(Aws::String&& value) { SetJobTemplateId(std::move(value)); return *this;}
117 
121  inline JobTemplateSummary& WithJobTemplateId(const char* value) { SetJobTemplateId(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline JobTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline JobTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline JobTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
169 
173  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
174 
178  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
179 
183  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
184 
188  inline JobTemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
189 
193  inline JobTemplateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
194 
195  private:
196 
197  Aws::String m_jobTemplateArn;
198  bool m_jobTemplateArnHasBeenSet;
199 
200  Aws::String m_jobTemplateId;
201  bool m_jobTemplateIdHasBeenSet;
202 
203  Aws::String m_description;
204  bool m_descriptionHasBeenSet;
205 
206  Aws::Utils::DateTime m_createdAt;
207  bool m_createdAtHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace IoT
212 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::JobTemplateSummary::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: JobTemplateSummary.h:183
Aws::IoT::Model::JobTemplateSummary::WithJobTemplateArn
JobTemplateSummary & WithJobTemplateArn(const char *value)
Definition: JobTemplateSummary.h:80
Aws::IoT::Model::JobTemplateSummary::WithJobTemplateId
JobTemplateSummary & WithJobTemplateId(const char *value)
Definition: JobTemplateSummary.h:121
Aws::IoT::Model::JobTemplateSummary::SetJobTemplateId
void SetJobTemplateId(const Aws::String &value)
Definition: JobTemplateSummary.h:96
Aws::IoT::Model::JobTemplateSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: JobTemplateSummary.h:132
Aws::IoT::Model::JobTemplateSummary::SetDescription
void SetDescription(const char *value)
Definition: JobTemplateSummary.h:147
Aws::IoT::Model::JobTemplateSummary::WithDescription
JobTemplateSummary & WithDescription(const Aws::String &value)
Definition: JobTemplateSummary.h:152
DateTime.h
Aws::IoT::Model::JobTemplateSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: JobTemplateSummary.h:137
Aws::IoT::Model::JobTemplateSummary::GetDescription
const Aws::String & GetDescription() const
Definition: JobTemplateSummary.h:127
Aws::IoT::Model::JobTemplateSummary::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: JobTemplateSummary.h:178
Aws::IoT::Model::JobTemplateSummary::WithDescription
JobTemplateSummary & WithDescription(const char *value)
Definition: JobTemplateSummary.h:162
Aws::IoT::Model::JobTemplateSummary::WithJobTemplateArn
JobTemplateSummary & WithJobTemplateArn(Aws::String &&value)
Definition: JobTemplateSummary.h:75
Aws::IoT::Model::JobTemplateSummary::operator=
JobTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobTemplateSummary::WithJobTemplateId
JobTemplateSummary & WithJobTemplateId(Aws::String &&value)
Definition: JobTemplateSummary.h:116
Aws::IoT::Model::JobTemplateSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: JobTemplateSummary.h:142
Aws::IoT::Model::JobTemplateSummary::JobTemplateArnHasBeenSet
bool JobTemplateArnHasBeenSet() const
Definition: JobTemplateSummary.h:50
Aws::IoT::Model::JobTemplateSummary::JobTemplateIdHasBeenSet
bool JobTemplateIdHasBeenSet() const
Definition: JobTemplateSummary.h:91
Aws::IoT::Model::JobTemplateSummary::WithDescription
JobTemplateSummary & WithDescription(Aws::String &&value)
Definition: JobTemplateSummary.h:157
Aws::IoT::Model::JobTemplateSummary::WithJobTemplateId
JobTemplateSummary & WithJobTemplateId(const Aws::String &value)
Definition: JobTemplateSummary.h:111
Aws::IoT::Model::JobTemplateSummary::JobTemplateSummary
JobTemplateSummary()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::JobTemplateSummary::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: JobTemplateSummary.h:173
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::JobTemplateSummary
Definition: JobTemplateSummary.h:34
Aws::IoT::Model::JobTemplateSummary::SetJobTemplateId
void SetJobTemplateId(const char *value)
Definition: JobTemplateSummary.h:106
Aws::IoT::Model::JobTemplateSummary::GetJobTemplateArn
const Aws::String & GetJobTemplateArn() const
Definition: JobTemplateSummary.h:45
Aws::IoT::Model::JobTemplateSummary::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: JobTemplateSummary.h:168
Aws::IoT::Model::JobTemplateSummary::WithJobTemplateArn
JobTemplateSummary & WithJobTemplateArn(const Aws::String &value)
Definition: JobTemplateSummary.h:70
Aws::IoT::Model::JobTemplateSummary::GetJobTemplateId
const Aws::String & GetJobTemplateId() const
Definition: JobTemplateSummary.h:86
Aws::IoT::Model::JobTemplateSummary::SetJobTemplateArn
void SetJobTemplateArn(const char *value)
Definition: JobTemplateSummary.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::JobTemplateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::JobTemplateSummary::WithCreatedAt
JobTemplateSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: JobTemplateSummary.h:188
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::JobTemplateSummary::WithCreatedAt
JobTemplateSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: JobTemplateSummary.h:193
Aws::IoT::Model::JobTemplateSummary::SetJobTemplateArn
void SetJobTemplateArn(const Aws::String &value)
Definition: JobTemplateSummary.h:55
Aws::IoT::Model::JobTemplateSummary::JobTemplateSummary
JobTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobTemplateSummary::SetJobTemplateId
void SetJobTemplateId(Aws::String &&value)
Definition: JobTemplateSummary.h:101
Aws::IoT::Model::JobTemplateSummary::SetJobTemplateArn
void SetJobTemplateArn(Aws::String &&value)
Definition: JobTemplateSummary.h:60
IoT_EXPORTS.h