AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PartialMatch.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 FMS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FMS_API PartialMatch();
40
41
43
47 inline const Aws::String& GetReference() const{ return m_reference; }
48 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
49 inline void SetReference(const Aws::String& value) { m_referenceHasBeenSet = true; m_reference = value; }
50 inline void SetReference(Aws::String&& value) { m_referenceHasBeenSet = true; m_reference = std::move(value); }
51 inline void SetReference(const char* value) { m_referenceHasBeenSet = true; m_reference.assign(value); }
52 inline PartialMatch& WithReference(const Aws::String& value) { SetReference(value); return *this;}
53 inline PartialMatch& WithReference(Aws::String&& value) { SetReference(std::move(value)); return *this;}
54 inline PartialMatch& WithReference(const char* value) { SetReference(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetTargetViolationReasons() const{ return m_targetViolationReasons; }
62 inline bool TargetViolationReasonsHasBeenSet() const { return m_targetViolationReasonsHasBeenSet; }
63 inline void SetTargetViolationReasons(const Aws::Vector<Aws::String>& value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons = value; }
64 inline void SetTargetViolationReasons(Aws::Vector<Aws::String>&& value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons = std::move(value); }
67 inline PartialMatch& AddTargetViolationReasons(const Aws::String& value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons.push_back(value); return *this; }
68 inline PartialMatch& AddTargetViolationReasons(Aws::String&& value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons.push_back(std::move(value)); return *this; }
69 inline PartialMatch& AddTargetViolationReasons(const char* value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons.push_back(value); return *this; }
71 private:
72
73 Aws::String m_reference;
74 bool m_referenceHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_targetViolationReasons;
77 bool m_targetViolationReasonsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace FMS
82} // namespace Aws
void SetReference(const Aws::String &value)
void SetReference(Aws::String &&value)
PartialMatch & AddTargetViolationReasons(Aws::String &&value)
PartialMatch & AddTargetViolationReasons(const char *value)
PartialMatch & WithReference(const char *value)
AWS_FMS_API PartialMatch(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API PartialMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetViolationReasons(Aws::Vector< Aws::String > &&value)
PartialMatch & AddTargetViolationReasons(const Aws::String &value)
void SetReference(const char *value)
PartialMatch & WithReference(Aws::String &&value)
PartialMatch & WithTargetViolationReasons(const Aws::Vector< Aws::String > &value)
const Aws::String & GetReference() const
bool TargetViolationReasonsHasBeenSet() const
const Aws::Vector< Aws::String > & GetTargetViolationReasons() const
void SetTargetViolationReasons(const Aws::Vector< Aws::String > &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
PartialMatch & WithReference(const Aws::String &value)
PartialMatch & WithTargetViolationReasons(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue