AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ForceEndpointErrorConfiguration.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediapackagev2/model/EndpointErrorCondition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mediapackagev2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIAPACKAGEV2_API ForceEndpointErrorConfiguration() = default;
38 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::Vector<EndpointErrorCondition>& GetEndpointErrorConditions() const { return m_endpointErrorConditions; }
52 inline bool EndpointErrorConditionsHasBeenSet() const { return m_endpointErrorConditionsHasBeenSet; }
53 template<typename EndpointErrorConditionsT = Aws::Vector<EndpointErrorCondition>>
54 void SetEndpointErrorConditions(EndpointErrorConditionsT&& value) { m_endpointErrorConditionsHasBeenSet = true; m_endpointErrorConditions = std::forward<EndpointErrorConditionsT>(value); }
55 template<typename EndpointErrorConditionsT = Aws::Vector<EndpointErrorCondition>>
56 ForceEndpointErrorConfiguration& WithEndpointErrorConditions(EndpointErrorConditionsT&& value) { SetEndpointErrorConditions(std::forward<EndpointErrorConditionsT>(value)); return *this;}
57 inline ForceEndpointErrorConfiguration& AddEndpointErrorConditions(EndpointErrorCondition value) { m_endpointErrorConditionsHasBeenSet = true; m_endpointErrorConditions.push_back(value); return *this; }
59 private:
60
61 Aws::Vector<EndpointErrorCondition> m_endpointErrorConditions;
62 bool m_endpointErrorConditionsHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace mediapackagev2
67} // namespace Aws
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGEV2_API ForceEndpointErrorConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API ForceEndpointErrorConfiguration()=default
AWS_MEDIAPACKAGEV2_API ForceEndpointErrorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ForceEndpointErrorConfiguration & AddEndpointErrorConditions(EndpointErrorCondition value)
const Aws::Vector< EndpointErrorCondition > & GetEndpointErrorConditions() const
ForceEndpointErrorConfiguration & WithEndpointErrorConditions(EndpointErrorConditionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue