AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GlobalTableWitnessDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDB_EXPORTS.h>
9#include <aws/dynamodb/model/WitnessStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DynamoDB {
21namespace Model {
22
30 public:
31 AWS_DYNAMODB_API GlobalTableWitnessDescription() = default;
34 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetRegionName() const { return m_regionName; }
42 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
43 template <typename RegionNameT = Aws::String>
44 void SetRegionName(RegionNameT&& value) {
45 m_regionNameHasBeenSet = true;
46 m_regionName = std::forward<RegionNameT>(value);
47 }
48 template <typename RegionNameT = Aws::String>
50 SetRegionName(std::forward<RegionNameT>(value));
51 return *this;
52 }
54
56
59 inline WitnessStatus GetWitnessStatus() const { return m_witnessStatus; }
60 inline bool WitnessStatusHasBeenSet() const { return m_witnessStatusHasBeenSet; }
61 inline void SetWitnessStatus(WitnessStatus value) {
62 m_witnessStatusHasBeenSet = true;
63 m_witnessStatus = value;
64 }
66 SetWitnessStatus(value);
67 return *this;
68 }
70 private:
71 Aws::String m_regionName;
72
74 bool m_regionNameHasBeenSet = false;
75 bool m_witnessStatusHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DynamoDB
80} // namespace Aws
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
GlobalTableWitnessDescription & WithRegionName(RegionNameT &&value)
GlobalTableWitnessDescription & WithWitnessStatus(WitnessStatus value)
AWS_DYNAMODB_API GlobalTableWitnessDescription()=default
AWS_DYNAMODB_API GlobalTableWitnessDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API GlobalTableWitnessDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue