AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AuditSuppression.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/ResourceIdentifier.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API AuditSuppression() = default;
41
42
44
45 inline const Aws::String& GetCheckName() const { return m_checkName; }
46 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
47 template<typename CheckNameT = Aws::String>
48 void SetCheckName(CheckNameT&& value) { m_checkNameHasBeenSet = true; m_checkName = std::forward<CheckNameT>(value); }
49 template<typename CheckNameT = Aws::String>
50 AuditSuppression& WithCheckName(CheckNameT&& value) { SetCheckName(std::forward<CheckNameT>(value)); return *this;}
52
54
55 inline const ResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
56 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
57 template<typename ResourceIdentifierT = ResourceIdentifier>
58 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
59 template<typename ResourceIdentifierT = ResourceIdentifier>
60 AuditSuppression& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
62
64
68 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
69 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
70 template<typename ExpirationDateT = Aws::Utils::DateTime>
71 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
72 template<typename ExpirationDateT = Aws::Utils::DateTime>
73 AuditSuppression& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
75
77
80 inline bool GetSuppressIndefinitely() const { return m_suppressIndefinitely; }
81 inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
82 inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
83 inline AuditSuppression& WithSuppressIndefinitely(bool value) { SetSuppressIndefinitely(value); return *this;}
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template<typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
94 template<typename DescriptionT = Aws::String>
95 AuditSuppression& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
97 private:
98
99 Aws::String m_checkName;
100 bool m_checkNameHasBeenSet = false;
101
102 ResourceIdentifier m_resourceIdentifier;
103 bool m_resourceIdentifierHasBeenSet = false;
104
105 Aws::Utils::DateTime m_expirationDate{};
106 bool m_expirationDateHasBeenSet = false;
107
108 bool m_suppressIndefinitely{false};
109 bool m_suppressIndefinitelyHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace IoT
117} // namespace Aws
AuditSuppression & WithSuppressIndefinitely(bool value)
void SetCheckName(CheckNameT &&value)
const Aws::String & GetDescription() const
AWS_IOT_API AuditSuppression()=default
void SetResourceIdentifier(ResourceIdentifierT &&value)
AuditSuppression & WithDescription(DescriptionT &&value)
const Aws::String & GetCheckName() const
void SetExpirationDate(ExpirationDateT &&value)
AWS_IOT_API AuditSuppression(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API AuditSuppression & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetExpirationDate() const
AuditSuppression & WithResourceIdentifier(ResourceIdentifierT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditSuppression & WithCheckName(CheckNameT &&value)
AuditSuppression & WithExpirationDate(ExpirationDateT &&value)
const ResourceIdentifier & GetResourceIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue