AWS SDK for C++  1.9.132
AWS SDK for C++
OTAUpdateSummary.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetOtaUpdateId() const{ return m_otaUpdateId; }
45 
49  inline bool OtaUpdateIdHasBeenSet() const { return m_otaUpdateIdHasBeenSet; }
50 
54  inline void SetOtaUpdateId(const Aws::String& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = value; }
55 
59  inline void SetOtaUpdateId(Aws::String&& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = std::move(value); }
60 
64  inline void SetOtaUpdateId(const char* value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId.assign(value); }
65 
69  inline OTAUpdateSummary& WithOtaUpdateId(const Aws::String& value) { SetOtaUpdateId(value); return *this;}
70 
74  inline OTAUpdateSummary& WithOtaUpdateId(Aws::String&& value) { SetOtaUpdateId(std::move(value)); return *this;}
75 
79  inline OTAUpdateSummary& WithOtaUpdateId(const char* value) { SetOtaUpdateId(value); return *this;}
80 
81 
85  inline const Aws::String& GetOtaUpdateArn() const{ return m_otaUpdateArn; }
86 
90  inline bool OtaUpdateArnHasBeenSet() const { return m_otaUpdateArnHasBeenSet; }
91 
95  inline void SetOtaUpdateArn(const Aws::String& value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn = value; }
96 
100  inline void SetOtaUpdateArn(Aws::String&& value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn = std::move(value); }
101 
105  inline void SetOtaUpdateArn(const char* value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn.assign(value); }
106 
110  inline OTAUpdateSummary& WithOtaUpdateArn(const Aws::String& value) { SetOtaUpdateArn(value); return *this;}
111 
115  inline OTAUpdateSummary& WithOtaUpdateArn(Aws::String&& value) { SetOtaUpdateArn(std::move(value)); return *this;}
116 
120  inline OTAUpdateSummary& WithOtaUpdateArn(const char* value) { SetOtaUpdateArn(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
127 
131  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
132 
136  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
137 
141  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
142 
146  inline OTAUpdateSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
147 
151  inline OTAUpdateSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_otaUpdateId;
156  bool m_otaUpdateIdHasBeenSet;
157 
158  Aws::String m_otaUpdateArn;
159  bool m_otaUpdateArnHasBeenSet;
160 
161  Aws::Utils::DateTime m_creationDate;
162  bool m_creationDateHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace IoT
167 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::OTAUpdateSummary::WithOtaUpdateId
OTAUpdateSummary & WithOtaUpdateId(Aws::String &&value)
Definition: OTAUpdateSummary.h:74
Aws::IoT::Model::OTAUpdateSummary::OtaUpdateArnHasBeenSet
bool OtaUpdateArnHasBeenSet() const
Definition: OTAUpdateSummary.h:90
Aws::IoT::Model::OTAUpdateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
DateTime.h
Aws::IoT::Model::OTAUpdateSummary::SetOtaUpdateArn
void SetOtaUpdateArn(const Aws::String &value)
Definition: OTAUpdateSummary.h:95
Aws::IoT::Model::OTAUpdateSummary::WithOtaUpdateArn
OTAUpdateSummary & WithOtaUpdateArn(const Aws::String &value)
Definition: OTAUpdateSummary.h:110
Aws::IoT::Model::OTAUpdateSummary::OTAUpdateSummary
OTAUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::OTAUpdateSummary
Definition: OTAUpdateSummary.h:33
Aws::IoT::Model::OTAUpdateSummary::WithOtaUpdateArn
OTAUpdateSummary & WithOtaUpdateArn(Aws::String &&value)
Definition: OTAUpdateSummary.h:115
Aws::IoT::Model::OTAUpdateSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: OTAUpdateSummary.h:136
Aws::IoT::Model::OTAUpdateSummary::GetOtaUpdateId
const Aws::String & GetOtaUpdateId() const
Definition: OTAUpdateSummary.h:44
Aws::IoT::Model::OTAUpdateSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: OTAUpdateSummary.h:131
Aws::IoT::Model::OTAUpdateSummary::WithOtaUpdateArn
OTAUpdateSummary & WithOtaUpdateArn(const char *value)
Definition: OTAUpdateSummary.h:120
Aws::IoT::Model::OTAUpdateSummary::WithCreationDate
OTAUpdateSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: OTAUpdateSummary.h:151
Aws::IoT::Model::OTAUpdateSummary::SetOtaUpdateArn
void SetOtaUpdateArn(const char *value)
Definition: OTAUpdateSummary.h:105
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::OTAUpdateSummary::WithOtaUpdateId
OTAUpdateSummary & WithOtaUpdateId(const Aws::String &value)
Definition: OTAUpdateSummary.h:69
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::OTAUpdateSummary::SetOtaUpdateId
void SetOtaUpdateId(Aws::String &&value)
Definition: OTAUpdateSummary.h:59
Aws::IoT::Model::OTAUpdateSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: OTAUpdateSummary.h:141
Aws::IoT::Model::OTAUpdateSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: OTAUpdateSummary.h:126
Aws::IoT::Model::OTAUpdateSummary::SetOtaUpdateArn
void SetOtaUpdateArn(Aws::String &&value)
Definition: OTAUpdateSummary.h:100
Aws::IoT::Model::OTAUpdateSummary::operator=
OTAUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::OTAUpdateSummary::OtaUpdateIdHasBeenSet
bool OtaUpdateIdHasBeenSet() const
Definition: OTAUpdateSummary.h:49
Aws::IoT::Model::OTAUpdateSummary::WithCreationDate
OTAUpdateSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: OTAUpdateSummary.h:146
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::OTAUpdateSummary::SetOtaUpdateId
void SetOtaUpdateId(const char *value)
Definition: OTAUpdateSummary.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::OTAUpdateSummary::OTAUpdateSummary
OTAUpdateSummary()
Aws::IoT::Model::OTAUpdateSummary::WithOtaUpdateId
OTAUpdateSummary & WithOtaUpdateId(const char *value)
Definition: OTAUpdateSummary.h:79
Aws::IoT::Model::OTAUpdateSummary::SetOtaUpdateId
void SetOtaUpdateId(const Aws::String &value)
Definition: OTAUpdateSummary.h:54
Aws::IoT::Model::OTAUpdateSummary::GetOtaUpdateArn
const Aws::String & GetOtaUpdateArn() const
Definition: OTAUpdateSummary.h:85
IoT_EXPORTS.h