AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Region.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
31 class Region
32 {
33 public:
34 AWS_DATAZONE_API Region() = default;
35 AWS_DATAZONE_API Region(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAZONE_API Region& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRegionName() const { return m_regionName; }
45 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
46 template<typename RegionNameT = Aws::String>
47 void SetRegionName(RegionNameT&& value) { m_regionNameHasBeenSet = true; m_regionName = std::forward<RegionNameT>(value); }
48 template<typename RegionNameT = Aws::String>
49 Region& WithRegionName(RegionNameT&& value) { SetRegionName(std::forward<RegionNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetRegionNamePath() const { return m_regionNamePath; }
57 inline bool RegionNamePathHasBeenSet() const { return m_regionNamePathHasBeenSet; }
58 template<typename RegionNamePathT = Aws::String>
59 void SetRegionNamePath(RegionNamePathT&& value) { m_regionNamePathHasBeenSet = true; m_regionNamePath = std::forward<RegionNamePathT>(value); }
60 template<typename RegionNamePathT = Aws::String>
61 Region& WithRegionNamePath(RegionNamePathT&& value) { SetRegionNamePath(std::forward<RegionNamePathT>(value)); return *this;}
63 private:
64
65 Aws::String m_regionName;
66 bool m_regionNameHasBeenSet = false;
67
68 Aws::String m_regionNamePath;
69 bool m_regionNamePathHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DataZone
74} // namespace Aws
const Aws::String & GetRegionName() const
Definition Region.h:44
void SetRegionNamePath(RegionNamePathT &&value)
Definition Region.h:59
void SetRegionName(RegionNameT &&value)
Definition Region.h:47
bool RegionNamePathHasBeenSet() const
Definition Region.h:57
const Aws::String & GetRegionNamePath() const
Definition Region.h:56
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
Region & WithRegionName(RegionNameT &&value)
Definition Region.h:49
AWS_DATAZONE_API Region(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Region()=default
bool RegionNameHasBeenSet() const
Definition Region.h:45
AWS_DATAZONE_API Region & operator=(Aws::Utils::Json::JsonView jsonValue)
Region & WithRegionNamePath(RegionNamePathT &&value)
Definition Region.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue