AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeliveryUri(const Aws::String& value) { m_deliveryUriHasBeenSet = true; m_deliveryUri = value; }
57 inline void SetDeliveryUri(Aws::String&& value) { m_deliveryUriHasBeenSet = true; m_deliveryUri = std::move(value); }
58 inline void SetDeliveryUri(const char* value) { m_deliveryUriHasBeenSet = true; m_deliveryUri.assign(value); }
59 inline CustomDeliveryConfiguration& WithDeliveryUri(const Aws::String& value) { SetDeliveryUri(value); return *this;}
60 inline CustomDeliveryConfiguration& WithDeliveryUri(Aws::String&& value) { SetDeliveryUri(std::move(value)); return *this;}
61 inline CustomDeliveryConfiguration& WithDeliveryUri(const char* value) { SetDeliveryUri(value); return *this;}
63
65
70 inline const Aws::Vector<__EndpointTypesElement>& GetEndpointTypes() const{ return m_endpointTypes; }
71 inline bool EndpointTypesHasBeenSet() const { return m_endpointTypesHasBeenSet; }
72 inline void SetEndpointTypes(const Aws::Vector<__EndpointTypesElement>& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes = value; }
73 inline void SetEndpointTypes(Aws::Vector<__EndpointTypesElement>&& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes = std::move(value); }
76 inline CustomDeliveryConfiguration& AddEndpointTypes(const __EndpointTypesElement& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes.push_back(value); return *this; }
77 inline CustomDeliveryConfiguration& AddEndpointTypes(__EndpointTypesElement&& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_deliveryUri;
82 bool m_deliveryUriHasBeenSet = false;
83
85 bool m_endpointTypesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Pinpoint
90} // namespace Aws
CustomDeliveryConfiguration & WithDeliveryUri(const char *value)
AWS_PINPOINT_API CustomDeliveryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomDeliveryConfiguration & WithEndpointTypes(Aws::Vector< __EndpointTypesElement > &&value)
CustomDeliveryConfiguration & WithDeliveryUri(const Aws::String &value)
CustomDeliveryConfiguration & AddEndpointTypes(const __EndpointTypesElement &value)
void SetEndpointTypes(const Aws::Vector< __EndpointTypesElement > &value)
AWS_PINPOINT_API CustomDeliveryConfiguration(Aws::Utils::Json::JsonView jsonValue)
CustomDeliveryConfiguration & AddEndpointTypes(__EndpointTypesElement &&value)
void SetEndpointTypes(Aws::Vector< __EndpointTypesElement > &&value)
CustomDeliveryConfiguration & WithDeliveryUri(Aws::String &&value)
CustomDeliveryConfiguration & WithEndpointTypes(const Aws::Vector< __EndpointTypesElement > &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