AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeAuditSuppressionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/ResourceIdentifier.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT {
25namespace Model {
27 public:
28 AWS_IOT_API DescribeAuditSuppressionResult() = default;
31
33
34 inline const Aws::String& GetCheckName() const { return m_checkName; }
35 template <typename CheckNameT = Aws::String>
36 void SetCheckName(CheckNameT&& value) {
37 m_checkNameHasBeenSet = true;
38 m_checkName = std::forward<CheckNameT>(value);
39 }
40 template <typename CheckNameT = Aws::String>
42 SetCheckName(std::forward<CheckNameT>(value));
43 return *this;
44 }
46
48
49 inline const ResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
50 template <typename ResourceIdentifierT = ResourceIdentifier>
51 void SetResourceIdentifier(ResourceIdentifierT&& value) {
52 m_resourceIdentifierHasBeenSet = true;
53 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
54 }
55 template <typename ResourceIdentifierT = ResourceIdentifier>
57 SetResourceIdentifier(std::forward<ResourceIdentifierT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
67 template <typename ExpirationDateT = Aws::Utils::DateTime>
68 void SetExpirationDate(ExpirationDateT&& value) {
69 m_expirationDateHasBeenSet = true;
70 m_expirationDate = std::forward<ExpirationDateT>(value);
71 }
72 template <typename ExpirationDateT = Aws::Utils::DateTime>
74 SetExpirationDate(std::forward<ExpirationDateT>(value));
75 return *this;
76 }
78
80
83 inline bool GetSuppressIndefinitely() const { return m_suppressIndefinitely; }
84 inline void SetSuppressIndefinitely(bool value) {
85 m_suppressIndefinitelyHasBeenSet = true;
86 m_suppressIndefinitely = value;
87 }
90 return *this;
91 }
93
95
98 inline const Aws::String& GetDescription() const { return m_description; }
99 template <typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) {
101 m_descriptionHasBeenSet = true;
102 m_description = std::forward<DescriptionT>(value);
103 }
104 template <typename DescriptionT = Aws::String>
106 SetDescription(std::forward<DescriptionT>(value));
107 return *this;
108 }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template <typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) {
116 m_requestIdHasBeenSet = true;
117 m_requestId = std::forward<RequestIdT>(value);
118 }
119 template <typename RequestIdT = Aws::String>
121 SetRequestId(std::forward<RequestIdT>(value));
122 return *this;
123 }
125 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
126
127 private:
128 Aws::String m_checkName;
129
130 ResourceIdentifier m_resourceIdentifier;
131
132 Aws::Utils::DateTime m_expirationDate{};
133
134 bool m_suppressIndefinitely{false};
135
136 Aws::String m_description;
137
138 Aws::String m_requestId;
139 Aws::Http::HttpResponseCode m_HttpResponseCode;
140 bool m_checkNameHasBeenSet = false;
141 bool m_resourceIdentifierHasBeenSet = false;
142 bool m_expirationDateHasBeenSet = false;
143 bool m_suppressIndefinitelyHasBeenSet = false;
144 bool m_descriptionHasBeenSet = false;
145 bool m_requestIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace IoT
150} // 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