AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
45 inline const Aws::String& GetCheckName() const{ return m_checkName; }
46 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
47 inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
48 inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
49 inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
50 inline AuditSuppression& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
51 inline AuditSuppression& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
52 inline AuditSuppression& WithCheckName(const char* value) { SetCheckName(value); return *this;}
54
56
57 inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
58 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
59 inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
60 inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
62 inline AuditSuppression& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
71 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
72 inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
73 inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
74 inline AuditSuppression& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
75 inline AuditSuppression& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
77
79
82 inline bool GetSuppressIndefinitely() const{ return m_suppressIndefinitely; }
83 inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
84 inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
85 inline AuditSuppression& WithSuppressIndefinitely(bool value) { SetSuppressIndefinitely(value); return *this;}
87
89
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 inline AuditSuppression& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline AuditSuppression& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline AuditSuppression& WithDescription(const char* value) { SetDescription(value); return *this;}
101 private:
102
103 Aws::String m_checkName;
104 bool m_checkNameHasBeenSet = false;
105
106 ResourceIdentifier m_resourceIdentifier;
107 bool m_resourceIdentifierHasBeenSet = false;
108
109 Aws::Utils::DateTime m_expirationDate;
110 bool m_expirationDateHasBeenSet = false;
111
112 bool m_suppressIndefinitely;
113 bool m_suppressIndefinitelyHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoT
121} // namespace Aws
AuditSuppression & WithResourceIdentifier(ResourceIdentifier &&value)
AuditSuppression & WithCheckName(Aws::String &&value)
AuditSuppression & WithSuppressIndefinitely(bool value)
AuditSuppression & WithCheckName(const Aws::String &value)
AuditSuppression & WithDescription(Aws::String &&value)
AuditSuppression & WithDescription(const Aws::String &value)
void SetResourceIdentifier(const ResourceIdentifier &value)
void SetCheckName(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
AuditSuppression & WithDescription(const char *value)
void SetCheckName(Aws::String &&value)
const Aws::String & GetCheckName() const
void SetExpirationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API AuditSuppression(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API AuditSuppression & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetExpirationDate() const
AuditSuppression & WithCheckName(const char *value)
void SetDescription(const char *value)
AuditSuppression & WithResourceIdentifier(const ResourceIdentifier &value)
AuditSuppression & WithExpirationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditSuppression & WithExpirationDate(Aws::Utils::DateTime &&value)
void SetResourceIdentifier(ResourceIdentifier &&value)
void SetCheckName(const char *value)
const ResourceIdentifier & GetResourceIdentifier() const
void SetDescription(const Aws::String &value)
void SetExpirationDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue