AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SharingConfig.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace VPCLattice
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_VPCLATTICE_API SharingConfig() = default;
34 AWS_VPCLATTICE_API SharingConfig(Aws::Utils::Json::JsonView jsonValue);
35 AWS_VPCLATTICE_API SharingConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetEnabled() const { return m_enabled; }
44 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
45 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
46 inline SharingConfig& WithEnabled(bool value) { SetEnabled(value); return *this;}
48 private:
49
50 bool m_enabled{false};
51 bool m_enabledHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace VPCLattice
56} // namespace Aws
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VPCLATTICE_API SharingConfig()=default
AWS_VPCLATTICE_API SharingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SharingConfig & WithEnabled(bool value)
AWS_VPCLATTICE_API SharingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue