AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
CustomDeliveryConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/__EndpointTypesElement.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint {
22namespace Model {
23
33 public:
34 AWS_PINPOINT_API CustomDeliveryConfiguration() = default;
37 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline const Aws::String& GetDeliveryUri() const { return m_deliveryUri; }
49 inline bool DeliveryUriHasBeenSet() const { return m_deliveryUriHasBeenSet; }
50 template <typename DeliveryUriT = Aws::String>
51 void SetDeliveryUri(DeliveryUriT&& value) {
52 m_deliveryUriHasBeenSet = true;
53 m_deliveryUri = std::forward<DeliveryUriT>(value);
54 }
55 template <typename DeliveryUriT = Aws::String>
57 SetDeliveryUri(std::forward<DeliveryUriT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::Vector<__EndpointTypesElement>& GetEndpointTypes() const { return m_endpointTypes; }
69 inline bool EndpointTypesHasBeenSet() const { return m_endpointTypesHasBeenSet; }
70 template <typename EndpointTypesT = Aws::Vector<__EndpointTypesElement>>
71 void SetEndpointTypes(EndpointTypesT&& value) {
72 m_endpointTypesHasBeenSet = true;
73 m_endpointTypes = std::forward<EndpointTypesT>(value);
74 }
75 template <typename EndpointTypesT = Aws::Vector<__EndpointTypesElement>>
77 SetEndpointTypes(std::forward<EndpointTypesT>(value));
78 return *this;
79 }
81 m_endpointTypesHasBeenSet = true;
82 m_endpointTypes.push_back(value);
83 return *this;
84 }
86 private:
87 Aws::String m_deliveryUri;
88 bool m_deliveryUriHasBeenSet = false;
89
91 bool m_endpointTypesHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Pinpoint
96} // namespace Aws
AWS_PINPOINT_API CustomDeliveryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API CustomDeliveryConfiguration()=default
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API CustomDeliveryConfiguration(Aws::Utils::Json::JsonView jsonValue)
CustomDeliveryConfiguration & WithDeliveryUri(DeliveryUriT &&value)
CustomDeliveryConfiguration & AddEndpointTypes(__EndpointTypesElement value)
CustomDeliveryConfiguration & WithEndpointTypes(EndpointTypesT &&value)
const Aws::Vector< __EndpointTypesElement > & GetEndpointTypes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue