AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDeliveriesResult.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/Delivery.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 CloudWatchLogs
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHLOGS_API DescribeDeliveriesResult() = default;
35
36
38
42 inline const Aws::Vector<Delivery>& GetDeliveries() const { return m_deliveries; }
43 template<typename DeliveriesT = Aws::Vector<Delivery>>
44 void SetDeliveries(DeliveriesT&& value) { m_deliveriesHasBeenSet = true; m_deliveries = std::forward<DeliveriesT>(value); }
45 template<typename DeliveriesT = Aws::Vector<Delivery>>
46 DescribeDeliveriesResult& WithDeliveries(DeliveriesT&& value) { SetDeliveries(std::forward<DeliveriesT>(value)); return *this;}
47 template<typename DeliveriesT = Delivery>
48 DescribeDeliveriesResult& AddDeliveries(DeliveriesT&& value) { m_deliveriesHasBeenSet = true; m_deliveries.emplace_back(std::forward<DeliveriesT>(value)); return *this; }
50
52
53 inline const Aws::String& GetNextToken() const { return m_nextToken; }
54 template<typename NextTokenT = Aws::String>
55 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
56 template<typename NextTokenT = Aws::String>
57 DescribeDeliveriesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 DescribeDeliveriesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Aws::Vector<Delivery> m_deliveries;
71 bool m_deliveriesHasBeenSet = false;
72
73 Aws::String m_nextToken;
74 bool m_nextTokenHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudWatchLogs
82} // namespace Aws
AWS_CLOUDWATCHLOGS_API DescribeDeliveriesResult()=default
DescribeDeliveriesResult & WithDeliveries(DeliveriesT &&value)
DescribeDeliveriesResult & AddDeliveries(DeliveriesT &&value)
DescribeDeliveriesResult & WithNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API DescribeDeliveriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Delivery > & GetDeliveries() const
DescribeDeliveriesResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API DescribeDeliveriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue