AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAuditSuppressionRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ResourceIdentifier.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoT
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAuditSuppression"; }
33
34 AWS_IOT_API Aws::String SerializePayload() const override;
35
36
38
39 inline const Aws::String& GetCheckName() const{ return m_checkName; }
40 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
41 inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
42 inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
43 inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
44 inline UpdateAuditSuppressionRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
45 inline UpdateAuditSuppressionRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
46 inline UpdateAuditSuppressionRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
48
50
51 inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
52 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
53 inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
54 inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
58
60
64 inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
65 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
66 inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
67 inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
71
73
76 inline bool GetSuppressIndefinitely() const{ return m_suppressIndefinitely; }
77 inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
78 inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline UpdateAuditSuppressionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline UpdateAuditSuppressionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline UpdateAuditSuppressionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
95 private:
96
97 Aws::String m_checkName;
98 bool m_checkNameHasBeenSet = false;
99
100 ResourceIdentifier m_resourceIdentifier;
101 bool m_resourceIdentifierHasBeenSet = false;
102
103 Aws::Utils::DateTime m_expirationDate;
104 bool m_expirationDateHasBeenSet = false;
105
106 bool m_suppressIndefinitely;
107 bool m_suppressIndefinitelyHasBeenSet = false;
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace IoT
115} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateAuditSuppressionRequest & WithDescription(Aws::String &&value)
UpdateAuditSuppressionRequest & WithResourceIdentifier(ResourceIdentifier &&value)
void SetExpirationDate(const Aws::Utils::DateTime &value)
UpdateAuditSuppressionRequest & WithCheckName(const char *value)
UpdateAuditSuppressionRequest & WithDescription(const Aws::String &value)
UpdateAuditSuppressionRequest & WithCheckName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateAuditSuppressionRequest & WithSuppressIndefinitely(bool value)
UpdateAuditSuppressionRequest & WithExpirationDate(Aws::Utils::DateTime &&value)
UpdateAuditSuppressionRequest & WithDescription(const char *value)
UpdateAuditSuppressionRequest & WithResourceIdentifier(const ResourceIdentifier &value)
void SetResourceIdentifier(const ResourceIdentifier &value)
UpdateAuditSuppressionRequest & WithCheckName(const Aws::String &value)
UpdateAuditSuppressionRequest & WithExpirationDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String