AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
GetInventoryInsightsResult.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/InventoryAggregateResult.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ACM {
26namespace Model {
28 public:
29 AWS_ACM_API GetInventoryInsightsResult() = default;
32
34
37 inline long long GetCertificateCount() const { return m_certificateCount; }
38 inline void SetCertificateCount(long long value) {
39 m_certificateCountHasBeenSet = true;
40 m_certificateCount = value;
41 }
44 return *this;
45 }
47
49
53 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
54 template <typename UpdatedAtT = Aws::Utils::DateTime>
55 void SetUpdatedAt(UpdatedAtT&& value) {
56 m_updatedAtHasBeenSet = true;
57 m_updatedAt = std::forward<UpdatedAtT>(value);
58 }
59 template <typename UpdatedAtT = Aws::Utils::DateTime>
61 SetUpdatedAt(std::forward<UpdatedAtT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Vector<InventoryAggregateResult>& GetAggregates() const { return m_aggregates; }
71 template <typename AggregatesT = Aws::Vector<InventoryAggregateResult>>
72 void SetAggregates(AggregatesT&& value) {
73 m_aggregatesHasBeenSet = true;
74 m_aggregates = std::forward<AggregatesT>(value);
75 }
76 template <typename AggregatesT = Aws::Vector<InventoryAggregateResult>>
78 SetAggregates(std::forward<AggregatesT>(value));
79 return *this;
80 }
81 template <typename AggregatesT = InventoryAggregateResult>
83 m_aggregatesHasBeenSet = true;
84 m_aggregates.emplace_back(std::forward<AggregatesT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 long long m_certificateCount{0};
107
108 Aws::Utils::DateTime m_updatedAt{};
109
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_certificateCountHasBeenSet = false;
115 bool m_updatedAtHasBeenSet = false;
116 bool m_aggregatesHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace ACM
122} // namespace Aws
AWS_ACM_API GetInventoryInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_ACM_API GetInventoryInsightsResult()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Vector< InventoryAggregateResult > & GetAggregates() const
GetInventoryInsightsResult & WithAggregates(AggregatesT &&value)
GetInventoryInsightsResult & WithCertificateCount(long long value)
GetInventoryInsightsResult & WithRequestId(RequestIdT &&value)
AWS_ACM_API GetInventoryInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInventoryInsightsResult & WithUpdatedAt(UpdatedAtT &&value)
GetInventoryInsightsResult & AddAggregates(AggregatesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue