AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndpointErrorConditions(const Aws::Vector<EndpointErrorCondition>& value) { m_endpointErrorConditionsHasBeenSet = true; m_endpointErrorConditions = value; }
54 inline void SetEndpointErrorConditions(Aws::Vector<EndpointErrorCondition>&& value) { m_endpointErrorConditionsHasBeenSet = true; m_endpointErrorConditions = std::move(value); }
57 inline ForceEndpointErrorConfiguration& AddEndpointErrorConditions(const EndpointErrorCondition& value) { m_endpointErrorConditionsHasBeenSet = true; m_endpointErrorConditions.push_back(value); return *this; }
58 inline ForceEndpointErrorConfiguration& AddEndpointErrorConditions(EndpointErrorCondition&& value) { m_endpointErrorConditionsHasBeenSet = true; m_endpointErrorConditions.push_back(std::move(value)); return *this; }
60 private:
61
62 Aws::Vector<EndpointErrorCondition> m_endpointErrorConditions;
63 bool m_endpointErrorConditionsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace mediapackagev2
68} // namespace Aws
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpointErrorConditions(const Aws::Vector< EndpointErrorCondition > &value)
ForceEndpointErrorConfiguration & AddEndpointErrorConditions(EndpointErrorCondition &&value)
AWS_MEDIAPACKAGEV2_API ForceEndpointErrorConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API ForceEndpointErrorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndpointErrorConditions(Aws::Vector< EndpointErrorCondition > &&value)
ForceEndpointErrorConfiguration & AddEndpointErrorConditions(const EndpointErrorCondition &value)
const Aws::Vector< EndpointErrorCondition > & GetEndpointErrorConditions() const
ForceEndpointErrorConfiguration & WithEndpointErrorConditions(Aws::Vector< EndpointErrorCondition > &&value)
ForceEndpointErrorConfiguration & WithEndpointErrorConditions(const Aws::Vector< EndpointErrorCondition > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue