AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDeliveryDestinationsResult.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/DeliveryDestination.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 DescribeDeliveryDestinationsResult() = default;
35
36
38
42 inline const Aws::Vector<DeliveryDestination>& GetDeliveryDestinations() const { return m_deliveryDestinations; }
43 template<typename DeliveryDestinationsT = Aws::Vector<DeliveryDestination>>
44 void SetDeliveryDestinations(DeliveryDestinationsT&& value) { m_deliveryDestinationsHasBeenSet = true; m_deliveryDestinations = std::forward<DeliveryDestinationsT>(value); }
45 template<typename DeliveryDestinationsT = Aws::Vector<DeliveryDestination>>
46 DescribeDeliveryDestinationsResult& WithDeliveryDestinations(DeliveryDestinationsT&& value) { SetDeliveryDestinations(std::forward<DeliveryDestinationsT>(value)); return *this;}
47 template<typename DeliveryDestinationsT = DeliveryDestination>
48 DescribeDeliveryDestinationsResult& AddDeliveryDestinations(DeliveryDestinationsT&& value) { m_deliveryDestinationsHasBeenSet = true; m_deliveryDestinations.emplace_back(std::forward<DeliveryDestinationsT>(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 DescribeDeliveryDestinationsResult& 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 DescribeDeliveryDestinationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Aws::Vector<DeliveryDestination> m_deliveryDestinations;
71 bool m_deliveryDestinationsHasBeenSet = 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
DescribeDeliveryDestinationsResult & AddDeliveryDestinations(DeliveryDestinationsT &&value)
const Aws::Vector< DeliveryDestination > & GetDeliveryDestinations() const
AWS_CLOUDWATCHLOGS_API DescribeDeliveryDestinationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeliveryDestinationsResult & WithNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API DescribeDeliveryDestinationsResult()=default
DescribeDeliveryDestinationsResult & WithRequestId(RequestIdT &&value)
DescribeDeliveryDestinationsResult & WithDeliveryDestinations(DeliveryDestinationsT &&value)
AWS_CLOUDWATCHLOGS_API DescribeDeliveryDestinationsResult(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