AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CustomDeliveryConfiguration.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint/model/__EndpointTypesElement.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_PINPOINT_API CustomDeliveryConfiguration() = default;
42 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
54 inline const Aws::String& GetDeliveryUri() const { return m_deliveryUri; }
55 inline bool DeliveryUriHasBeenSet() const { return m_deliveryUriHasBeenSet; }
56 template<typename DeliveryUriT = Aws::String>
57 void SetDeliveryUri(DeliveryUriT&& value) { m_deliveryUriHasBeenSet = true; m_deliveryUri = std::forward<DeliveryUriT>(value); }
58 template<typename DeliveryUriT = Aws::String>
59 CustomDeliveryConfiguration& WithDeliveryUri(DeliveryUriT&& value) { SetDeliveryUri(std::forward<DeliveryUriT>(value)); return *this;}
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) { m_endpointTypesHasBeenSet = true; m_endpointTypes = std::forward<EndpointTypesT>(value); }
72 template<typename EndpointTypesT = Aws::Vector<__EndpointTypesElement>>
73 CustomDeliveryConfiguration& WithEndpointTypes(EndpointTypesT&& value) { SetEndpointTypes(std::forward<EndpointTypesT>(value)); return *this;}
74 inline CustomDeliveryConfiguration& AddEndpointTypes(__EndpointTypesElement value) { m_endpointTypesHasBeenSet = true; m_endpointTypes.push_back(value); return *this; }
76 private:
77
78 Aws::String m_deliveryUri;
79 bool m_deliveryUriHasBeenSet = false;
80
82 bool m_endpointTypesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Pinpoint
87} // 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