AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
Route.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SESV2 {
20namespace Model {
21
28class Route {
29 public:
30 AWS_SESV2_API Route() = default;
31 AWS_SESV2_API Route(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SESV2_API Route& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetRegion() const { return m_region; }
40 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
41 template <typename RegionT = Aws::String>
42 void SetRegion(RegionT&& value) {
43 m_regionHasBeenSet = true;
44 m_region = std::forward<RegionT>(value);
45 }
46 template <typename RegionT = Aws::String>
47 Route& WithRegion(RegionT&& value) {
48 SetRegion(std::forward<RegionT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_region;
54 bool m_regionHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SESV2
59} // namespace Aws
Route & WithRegion(RegionT &&value)
Definition Route.h:47
const Aws::String & GetRegion() const
Definition Route.h:39
AWS_SESV2_API Route & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(RegionT &&value)
Definition Route.h:42
AWS_SESV2_API Route()=default
AWS_SESV2_API Route(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool RegionHasBeenSet() const
Definition Route.h:40
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue