AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PathComponent.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/NetworkResourceSummary.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
33 {
34 public:
35 AWS_NETWORKMANAGER_API PathComponent();
36 AWS_NETWORKMANAGER_API PathComponent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKMANAGER_API PathComponent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetSequence() const{ return m_sequence; }
46 inline bool SequenceHasBeenSet() const { return m_sequenceHasBeenSet; }
47 inline void SetSequence(int value) { m_sequenceHasBeenSet = true; m_sequence = value; }
48 inline PathComponent& WithSequence(int value) { SetSequence(value); return *this;}
50
52
55 inline const NetworkResourceSummary& GetResource() const{ return m_resource; }
56 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
57 inline void SetResource(const NetworkResourceSummary& value) { m_resourceHasBeenSet = true; m_resource = value; }
58 inline void SetResource(NetworkResourceSummary&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
59 inline PathComponent& WithResource(const NetworkResourceSummary& value) { SetResource(value); return *this;}
60 inline PathComponent& WithResource(NetworkResourceSummary&& value) { SetResource(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
68 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
69 inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
70 inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
71 inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
72 inline PathComponent& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;}
73 inline PathComponent& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
74 inline PathComponent& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
76 private:
77
78 int m_sequence;
79 bool m_sequenceHasBeenSet = false;
80
81 NetworkResourceSummary m_resource;
82 bool m_resourceHasBeenSet = false;
83
84 Aws::String m_destinationCidrBlock;
85 bool m_destinationCidrBlockHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace NetworkManager
90} // namespace Aws
AWS_NETWORKMANAGER_API PathComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationCidrBlock(const char *value)
const NetworkResourceSummary & GetResource() const
PathComponent & WithDestinationCidrBlock(const Aws::String &value)
AWS_NETWORKMANAGER_API PathComponent()
PathComponent & WithResource(const NetworkResourceSummary &value)
PathComponent & WithResource(NetworkResourceSummary &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
PathComponent & WithDestinationCidrBlock(const char *value)
AWS_NETWORKMANAGER_API PathComponent(Aws::Utils::Json::JsonView jsonValue)
PathComponent & WithDestinationCidrBlock(Aws::String &&value)
void SetDestinationCidrBlock(Aws::String &&value)
void SetResource(NetworkResourceSummary &&value)
void SetDestinationCidrBlock(const Aws::String &value)
const Aws::String & GetDestinationCidrBlock() const
PathComponent & WithSequence(int value)
void SetResource(const NetworkResourceSummary &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue