AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
GetInventoryInsightsRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/acm/model/InventoryAggregateRequest.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ACM {
16namespace Model {
17
21 public:
22 AWS_ACM_API GetInventoryInsightsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetInventoryInsights"; }
29
30 AWS_ACM_API Aws::String SerializePayload() const override;
31
33
37 AWS_ACM_API EndpointParameters GetEndpointContextParams() const override;
38
40
47 inline const Aws::Vector<InventoryAggregateRequest>& GetRequestedAggregates() const { return m_requestedAggregates; }
48 inline bool RequestedAggregatesHasBeenSet() const { return m_requestedAggregatesHasBeenSet; }
49 template <typename RequestedAggregatesT = Aws::Vector<InventoryAggregateRequest>>
50 void SetRequestedAggregates(RequestedAggregatesT&& value) {
51 m_requestedAggregatesHasBeenSet = true;
52 m_requestedAggregates = std::forward<RequestedAggregatesT>(value);
53 }
54 template <typename RequestedAggregatesT = Aws::Vector<InventoryAggregateRequest>>
56 SetRequestedAggregates(std::forward<RequestedAggregatesT>(value));
57 return *this;
58 }
59 template <typename RequestedAggregatesT = InventoryAggregateRequest>
60 GetInventoryInsightsRequest& AddRequestedAggregates(RequestedAggregatesT&& value) {
61 m_requestedAggregatesHasBeenSet = true;
62 m_requestedAggregates.emplace_back(std::forward<RequestedAggregatesT>(value));
63 return *this;
64 }
66 private:
67 Aws::Vector<InventoryAggregateRequest> m_requestedAggregates;
68 bool m_requestedAggregatesHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace ACM
73} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
Definition ACMRequest.h:18
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetInventoryInsightsRequest & AddRequestedAggregates(RequestedAggregatesT &&value)
AWS_ACM_API EndpointParameters GetEndpointContextParams() const override
const Aws::Vector< InventoryAggregateRequest > & GetRequestedAggregates() const
AWS_ACM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetInventoryInsightsRequest & WithRequestedAggregates(RequestedAggregatesT &&value)
AWS_ACM_API GetInventoryInsightsRequest()=default
void SetRequestedAggregates(RequestedAggregatesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector