AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeAuditSuppressionResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOT_API DescribeAuditSuppressionResult() = default;
35
36
38
39 inline const Aws::String& GetCheckName() const { return m_checkName; }
40 template<typename CheckNameT = Aws::String>
41 void SetCheckName(CheckNameT&& value) { m_checkNameHasBeenSet = true; m_checkName = std::forward<CheckNameT>(value); }
42 template<typename CheckNameT = Aws::String>
43 DescribeAuditSuppressionResult& WithCheckName(CheckNameT&& value) { SetCheckName(std::forward<CheckNameT>(value)); return *this;}
45
47
48 inline const ResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
49 template<typename ResourceIdentifierT = ResourceIdentifier>
50 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
51 template<typename ResourceIdentifierT = ResourceIdentifier>
52 DescribeAuditSuppressionResult& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
60 template<typename ExpirationDateT = Aws::Utils::DateTime>
61 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
62 template<typename ExpirationDateT = Aws::Utils::DateTime>
63 DescribeAuditSuppressionResult& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
65
67
70 inline bool GetSuppressIndefinitely() const { return m_suppressIndefinitely; }
71 inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 DescribeAuditSuppressionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template<typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
91 template<typename RequestIdT = Aws::String>
92 DescribeAuditSuppressionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
94 private:
95
96 Aws::String m_checkName;
97 bool m_checkNameHasBeenSet = false;
98
99 ResourceIdentifier m_resourceIdentifier;
100 bool m_resourceIdentifierHasBeenSet = false;
101
102 Aws::Utils::DateTime m_expirationDate{};
103 bool m_expirationDateHasBeenSet = false;
104
105 bool m_suppressIndefinitely{false};
106 bool m_suppressIndefinitelyHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110
111 Aws::String m_requestId;
112 bool m_requestIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace IoT
117} // namespace Aws
AWS_IOT_API DescribeAuditSuppressionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAuditSuppressionResult & WithCheckName(CheckNameT &&value)
AWS_IOT_API DescribeAuditSuppressionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAuditSuppressionResult & WithSuppressIndefinitely(bool value)
DescribeAuditSuppressionResult & WithResourceIdentifier(ResourceIdentifierT &&value)
DescribeAuditSuppressionResult & WithRequestId(RequestIdT &&value)
DescribeAuditSuppressionResult & WithExpirationDate(ExpirationDateT &&value)
DescribeAuditSuppressionResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue