AWS SDK for C++  1.9.106
AWS SDK for C++
ContainerDetails.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline ContainerDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline ContainerDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline ContainerDetails& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetImageId() const{ return m_imageId; }
85 
89  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
90 
94  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
95 
99  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
100 
104  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
105 
109  inline ContainerDetails& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
110 
114  inline ContainerDetails& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
115 
119  inline ContainerDetails& WithImageId(const char* value) { SetImageId(value); return *this;}
120 
121 
125  inline const Aws::String& GetImageName() const{ return m_imageName; }
126 
130  inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
131 
135  inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
136 
140  inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
141 
145  inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
146 
150  inline ContainerDetails& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
151 
155  inline ContainerDetails& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
156 
160  inline ContainerDetails& WithImageName(const char* value) { SetImageName(value); return *this;}
161 
162 
170  inline const Aws::String& GetLaunchedAt() const{ return m_launchedAt; }
171 
179  inline bool LaunchedAtHasBeenSet() const { return m_launchedAtHasBeenSet; }
180 
188  inline void SetLaunchedAt(const Aws::String& value) { m_launchedAtHasBeenSet = true; m_launchedAt = value; }
189 
197  inline void SetLaunchedAt(Aws::String&& value) { m_launchedAtHasBeenSet = true; m_launchedAt = std::move(value); }
198 
206  inline void SetLaunchedAt(const char* value) { m_launchedAtHasBeenSet = true; m_launchedAt.assign(value); }
207 
215  inline ContainerDetails& WithLaunchedAt(const Aws::String& value) { SetLaunchedAt(value); return *this;}
216 
224  inline ContainerDetails& WithLaunchedAt(Aws::String&& value) { SetLaunchedAt(std::move(value)); return *this;}
225 
233  inline ContainerDetails& WithLaunchedAt(const char* value) { SetLaunchedAt(value); return *this;}
234 
235  private:
236 
237  Aws::String m_name;
238  bool m_nameHasBeenSet;
239 
240  Aws::String m_imageId;
241  bool m_imageIdHasBeenSet;
242 
243  Aws::String m_imageName;
244  bool m_imageNameHasBeenSet;
245 
246  Aws::String m_launchedAt;
247  bool m_launchedAtHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace SecurityHub
252 } // namespace Aws
Aws::SecurityHub::Model::ContainerDetails::WithImageId
ContainerDetails & WithImageId(Aws::String &&value)
Definition: ContainerDetails.h:114
Aws::SecurityHub::Model::ContainerDetails::SetImageName
void SetImageName(Aws::String &&value)
Definition: ContainerDetails.h:140
Aws::SecurityHub::Model::ContainerDetails::SetLaunchedAt
void SetLaunchedAt(Aws::String &&value)
Definition: ContainerDetails.h:197
Aws::SecurityHub::Model::ContainerDetails::SetImageId
void SetImageId(const Aws::String &value)
Definition: ContainerDetails.h:94
Aws::SecurityHub::Model::ContainerDetails::WithImageName
ContainerDetails & WithImageName(const char *value)
Definition: ContainerDetails.h:160
Aws::SecurityHub::Model::ContainerDetails::SetName
void SetName(const char *value)
Definition: ContainerDetails.h:63
Aws::SecurityHub::Model::ContainerDetails::GetLaunchedAt
const Aws::String & GetLaunchedAt() const
Definition: ContainerDetails.h:170
Aws::SecurityHub::Model::ContainerDetails::WithLaunchedAt
ContainerDetails & WithLaunchedAt(const char *value)
Definition: ContainerDetails.h:233
Aws::SecurityHub::Model::ContainerDetails::SetImageName
void SetImageName(const char *value)
Definition: ContainerDetails.h:145
Aws::SecurityHub::Model::ContainerDetails::WithLaunchedAt
ContainerDetails & WithLaunchedAt(const Aws::String &value)
Definition: ContainerDetails.h:215
Aws::SecurityHub::Model::ContainerDetails::SetLaunchedAt
void SetLaunchedAt(const Aws::String &value)
Definition: ContainerDetails.h:188
Aws::SecurityHub::Model::ContainerDetails::WithImageId
ContainerDetails & WithImageId(const char *value)
Definition: ContainerDetails.h:119
Aws::SecurityHub::Model::ContainerDetails::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: ContainerDetails.h:89
Aws::SecurityHub::Model::ContainerDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::ContainerDetails::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ContainerDetails.h:48
Aws::SecurityHub::Model::ContainerDetails::WithImageName
ContainerDetails & WithImageName(const Aws::String &value)
Definition: ContainerDetails.h:150
Aws::SecurityHub::Model::ContainerDetails::WithName
ContainerDetails & WithName(const Aws::String &value)
Definition: ContainerDetails.h:68
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::ContainerDetails::GetImageId
const Aws::String & GetImageId() const
Definition: ContainerDetails.h:84
Aws::SecurityHub::Model::ContainerDetails::WithImageId
ContainerDetails & WithImageId(const Aws::String &value)
Definition: ContainerDetails.h:109
Aws::SecurityHub::Model::ContainerDetails::LaunchedAtHasBeenSet
bool LaunchedAtHasBeenSet() const
Definition: ContainerDetails.h:179
Aws::SecurityHub::Model::ContainerDetails::ContainerDetails
ContainerDetails()
Aws::SecurityHub::Model::ContainerDetails::ContainerDetails
ContainerDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::ContainerDetails::SetImageId
void SetImageId(const char *value)
Definition: ContainerDetails.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SecurityHub::Model::ContainerDetails
Definition: ContainerDetails.h:32
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::ContainerDetails::SetName
void SetName(const Aws::String &value)
Definition: ContainerDetails.h:53
Aws::SecurityHub::Model::ContainerDetails::WithImageName
ContainerDetails & WithImageName(Aws::String &&value)
Definition: ContainerDetails.h:155
Aws::SecurityHub::Model::ContainerDetails::WithLaunchedAt
ContainerDetails & WithLaunchedAt(Aws::String &&value)
Definition: ContainerDetails.h:224
Aws::SecurityHub::Model::ContainerDetails::SetName
void SetName(Aws::String &&value)
Definition: ContainerDetails.h:58
Aws::SecurityHub::Model::ContainerDetails::SetImageName
void SetImageName(const Aws::String &value)
Definition: ContainerDetails.h:135
Aws::SecurityHub::Model::ContainerDetails::SetImageId
void SetImageId(Aws::String &&value)
Definition: ContainerDetails.h:99
Aws::SecurityHub::Model::ContainerDetails::WithName
ContainerDetails & WithName(Aws::String &&value)
Definition: ContainerDetails.h:73
Aws::SecurityHub::Model::ContainerDetails::operator=
ContainerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::ContainerDetails::SetLaunchedAt
void SetLaunchedAt(const char *value)
Definition: ContainerDetails.h:206
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::ContainerDetails::WithName
ContainerDetails & WithName(const char *value)
Definition: ContainerDetails.h:78
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::ContainerDetails::GetImageName
const Aws::String & GetImageName() const
Definition: ContainerDetails.h:125
Aws::SecurityHub::Model::ContainerDetails::ImageNameHasBeenSet
bool ImageNameHasBeenSet() const
Definition: ContainerDetails.h:130
Aws::SecurityHub::Model::ContainerDetails::GetName
const Aws::String & GetName() const
Definition: ContainerDetails.h:43