AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcrRepositoryMetadata.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/EcrScanFrequency.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 Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API EcrRepositoryMetadata();
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline EcrRepositoryMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline EcrRepositoryMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline EcrRepositoryMetadata& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const EcrScanFrequency& GetScanFrequency() const{ return m_scanFrequency; }
61 inline bool ScanFrequencyHasBeenSet() const { return m_scanFrequencyHasBeenSet; }
62 inline void SetScanFrequency(const EcrScanFrequency& value) { m_scanFrequencyHasBeenSet = true; m_scanFrequency = value; }
63 inline void SetScanFrequency(EcrScanFrequency&& value) { m_scanFrequencyHasBeenSet = true; m_scanFrequency = std::move(value); }
64 inline EcrRepositoryMetadata& WithScanFrequency(const EcrScanFrequency& value) { SetScanFrequency(value); return *this;}
65 inline EcrRepositoryMetadata& WithScanFrequency(EcrScanFrequency&& value) { SetScanFrequency(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
72 EcrScanFrequency m_scanFrequency;
73 bool m_scanFrequencyHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Inspector2
78} // namespace Aws
AWS_INSPECTOR2_API EcrRepositoryMetadata(Aws::Utils::Json::JsonView jsonValue)
EcrRepositoryMetadata & WithName(const Aws::String &value)
EcrRepositoryMetadata & WithScanFrequency(const EcrScanFrequency &value)
EcrRepositoryMetadata & WithName(Aws::String &&value)
EcrRepositoryMetadata & WithName(const char *value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
EcrRepositoryMetadata & WithScanFrequency(EcrScanFrequency &&value)
AWS_INSPECTOR2_API EcrRepositoryMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const EcrScanFrequency & GetScanFrequency() const
void SetScanFrequency(const EcrScanFrequency &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue