AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ZeroEtlAccess.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/ManagedResourceStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
30 public:
31 AWS_ODB_API ZeroEtlAccess() = default;
35
37
40 inline ManagedResourceStatus GetStatus() const { return m_status; }
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
42 inline void SetStatus(ManagedResourceStatus value) {
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetCidr() const { return m_cidr; }
57 inline bool CidrHasBeenSet() const { return m_cidrHasBeenSet; }
58 template <typename CidrT = Aws::String>
59 void SetCidr(CidrT&& value) {
60 m_cidrHasBeenSet = true;
61 m_cidr = std::forward<CidrT>(value);
62 }
63 template <typename CidrT = Aws::String>
64 ZeroEtlAccess& WithCidr(CidrT&& value) {
65 SetCidr(std::forward<CidrT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_cidr;
73 bool m_statusHasBeenSet = false;
74 bool m_cidrHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace odb
79} // namespace Aws
AWS_ODB_API ZeroEtlAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API ZeroEtlAccess(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCidr() const
AWS_ODB_API ZeroEtlAccess()=default
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
ZeroEtlAccess & WithCidr(CidrT &&value)
void SetStatus(ManagedResourceStatus value)
void SetCidr(CidrT &&value)
ZeroEtlAccess & WithStatus(ManagedResourceStatus value)
ManagedResourceStatus GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue