AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EdgeOverride.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 NetworkManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_NETWORKMANAGER_API EdgeOverride();
37 AWS_NETWORKMANAGER_API EdgeOverride(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKMANAGER_API EdgeOverride& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetEdgeSets() const{ return m_edgeSets; }
47 inline bool EdgeSetsHasBeenSet() const { return m_edgeSetsHasBeenSet; }
48 inline void SetEdgeSets(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_edgeSetsHasBeenSet = true; m_edgeSets = value; }
49 inline void SetEdgeSets(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_edgeSetsHasBeenSet = true; m_edgeSets = std::move(value); }
50 inline EdgeOverride& WithEdgeSets(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetEdgeSets(value); return *this;}
51 inline EdgeOverride& WithEdgeSets(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetEdgeSets(std::move(value)); return *this;}
52 inline EdgeOverride& AddEdgeSets(const Aws::Vector<Aws::String>& value) { m_edgeSetsHasBeenSet = true; m_edgeSets.push_back(value); return *this; }
53 inline EdgeOverride& AddEdgeSets(Aws::Vector<Aws::String>&& value) { m_edgeSetsHasBeenSet = true; m_edgeSets.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::String& GetUseEdge() const{ return m_useEdge; }
61 inline bool UseEdgeHasBeenSet() const { return m_useEdgeHasBeenSet; }
62 inline void SetUseEdge(const Aws::String& value) { m_useEdgeHasBeenSet = true; m_useEdge = value; }
63 inline void SetUseEdge(Aws::String&& value) { m_useEdgeHasBeenSet = true; m_useEdge = std::move(value); }
64 inline void SetUseEdge(const char* value) { m_useEdgeHasBeenSet = true; m_useEdge.assign(value); }
65 inline EdgeOverride& WithUseEdge(const Aws::String& value) { SetUseEdge(value); return *this;}
66 inline EdgeOverride& WithUseEdge(Aws::String&& value) { SetUseEdge(std::move(value)); return *this;}
67 inline EdgeOverride& WithUseEdge(const char* value) { SetUseEdge(value); return *this;}
69 private:
70
72 bool m_edgeSetsHasBeenSet = false;
73
74 Aws::String m_useEdge;
75 bool m_useEdgeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace NetworkManager
80} // namespace Aws
const Aws::Vector< Aws::Vector< Aws::String > > & GetEdgeSets() const
AWS_NETWORKMANAGER_API EdgeOverride(Aws::Utils::Json::JsonView jsonValue)
EdgeOverride & WithUseEdge(const char *value)
void SetEdgeSets(const Aws::Vector< Aws::Vector< Aws::String > > &value)
const Aws::String & GetUseEdge() const
void SetEdgeSets(Aws::Vector< Aws::Vector< Aws::String > > &&value)
EdgeOverride & AddEdgeSets(const Aws::Vector< Aws::String > &value)
AWS_NETWORKMANAGER_API EdgeOverride()
AWS_NETWORKMANAGER_API EdgeOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgeOverride & WithUseEdge(const Aws::String &value)
void SetUseEdge(const Aws::String &value)
EdgeOverride & AddEdgeSets(Aws::Vector< Aws::String > &&value)
EdgeOverride & WithUseEdge(Aws::String &&value)
void SetUseEdge(Aws::String &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
EdgeOverride & WithEdgeSets(const Aws::Vector< Aws::Vector< Aws::String > > &value)
EdgeOverride & WithEdgeSets(Aws::Vector< 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