AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_IOT_API UpdateAuditSuppressionRequest() = default;
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 template<typename CheckNameT = Aws::String>
42 void SetCheckName(CheckNameT&& value) { m_checkNameHasBeenSet = true; m_checkName = std::forward<CheckNameT>(value); }
43 template<typename CheckNameT = Aws::String>
44 UpdateAuditSuppressionRequest& WithCheckName(CheckNameT&& value) { SetCheckName(std::forward<CheckNameT>(value)); return *this;}
46
48
49 inline const ResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
50 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
51 template<typename ResourceIdentifierT = ResourceIdentifier>
52 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
53 template<typename ResourceIdentifierT = ResourceIdentifier>
54 UpdateAuditSuppressionRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
63 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
64 template<typename ExpirationDateT = Aws::Utils::DateTime>
65 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
66 template<typename ExpirationDateT = Aws::Utils::DateTime>
67 UpdateAuditSuppressionRequest& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
69
71
74 inline bool GetSuppressIndefinitely() const { return m_suppressIndefinitely; }
75 inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
76 inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 template<typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
88 template<typename DescriptionT = Aws::String>
89 UpdateAuditSuppressionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
91 private:
92
93 Aws::String m_checkName;
94 bool m_checkNameHasBeenSet = false;
95
96 ResourceIdentifier m_resourceIdentifier;
97 bool m_resourceIdentifierHasBeenSet = false;
98
99 Aws::Utils::DateTime m_expirationDate{};
100 bool m_expirationDateHasBeenSet = false;
101
102 bool m_suppressIndefinitely{false};
103 bool m_suppressIndefinitelyHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace IoT
111} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateAuditSuppressionRequest & WithDescription(DescriptionT &&value)
UpdateAuditSuppressionRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
UpdateAuditSuppressionRequest & WithSuppressIndefinitely(bool value)
UpdateAuditSuppressionRequest & WithCheckName(CheckNameT &&value)
UpdateAuditSuppressionRequest & WithExpirationDate(ExpirationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String