AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImagePipelineAggregation.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 ImagePipelineAggregation();
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetImagePipelineArn() const{ return m_imagePipelineArn; }
48 inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; }
49 inline void SetImagePipelineArn(const Aws::String& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = value; }
50 inline void SetImagePipelineArn(Aws::String&& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = std::move(value); }
51 inline void SetImagePipelineArn(const char* value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn.assign(value); }
53 inline ImagePipelineAggregation& WithImagePipelineArn(Aws::String&& value) { SetImagePipelineArn(std::move(value)); return *this;}
54 inline ImagePipelineAggregation& WithImagePipelineArn(const char* value) { SetImagePipelineArn(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 ImagePipelineAggregation& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;}
67 inline ImagePipelineAggregation& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_imagePipelineArn;
72 bool m_imagePipelineArnHasBeenSet = false;
73
74 SeverityCounts m_severityCounts;
75 bool m_severityCountsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace imagebuilder
80} // namespace Aws
ImagePipelineAggregation & WithImagePipelineArn(Aws::String &&value)
AWS_IMAGEBUILDER_API ImagePipelineAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
ImagePipelineAggregation & WithImagePipelineArn(const Aws::String &value)
AWS_IMAGEBUILDER_API ImagePipelineAggregation(Aws::Utils::Json::JsonView jsonValue)
ImagePipelineAggregation & WithSeverityCounts(const SeverityCounts &value)
ImagePipelineAggregation & WithSeverityCounts(SeverityCounts &&value)
ImagePipelineAggregation & WithImagePipelineArn(const char *value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue