AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageAggregation.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/SeverityCounts.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 imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API ImageAggregation();
37 AWS_IMAGEBUILDER_API ImageAggregation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IMAGEBUILDER_API ImageAggregation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; }
48 inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
49 inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = value; }
50 inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::move(value); }
51 inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn.assign(value); }
53 inline ImageAggregation& WithImageBuildVersionArn(Aws::String&& value) { SetImageBuildVersionArn(std::move(value)); return *this;}
54 inline ImageAggregation& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;}
56
58
62 inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
63 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
64 inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
65 inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); }
66 inline ImageAggregation& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;}
67 inline ImageAggregation& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_imageBuildVersionArn;
72 bool m_imageBuildVersionArnHasBeenSet = false;
73
74 SeverityCounts m_severityCounts;
75 bool m_severityCountsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace imagebuilder
80} // namespace Aws
void SetSeverityCounts(SeverityCounts &&value)
ImageAggregation & WithImageBuildVersionArn(const Aws::String &value)
ImageAggregation & WithSeverityCounts(const SeverityCounts &value)
void SetImageBuildVersionArn(Aws::String &&value)
void SetImageBuildVersionArn(const Aws::String &value)
const SeverityCounts & GetSeverityCounts() const
ImageAggregation & WithSeverityCounts(SeverityCounts &&value)
AWS_IMAGEBUILDER_API ImageAggregation(Aws::Utils::Json::JsonView jsonValue)
ImageAggregation & WithImageBuildVersionArn(const char *value)
AWS_IMAGEBUILDER_API ImageAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeverityCounts(const SeverityCounts &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetImageBuildVersionArn() const
ImageAggregation & WithImageBuildVersionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue