AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaAutoScalingSpecification.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/keyspaces/model/AutoScalingSpecification.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Keyspaces
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRegion() const{ return m_region; }
47 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
48 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
49 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
50 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
51 inline ReplicaAutoScalingSpecification& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
52 inline ReplicaAutoScalingSpecification& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
53 inline ReplicaAutoScalingSpecification& WithRegion(const char* value) { SetRegion(value); return *this;}
55
57
61 inline const AutoScalingSpecification& GetAutoScalingSpecification() const{ return m_autoScalingSpecification; }
62 inline bool AutoScalingSpecificationHasBeenSet() const { return m_autoScalingSpecificationHasBeenSet; }
63 inline void SetAutoScalingSpecification(const AutoScalingSpecification& value) { m_autoScalingSpecificationHasBeenSet = true; m_autoScalingSpecification = value; }
64 inline void SetAutoScalingSpecification(AutoScalingSpecification&& value) { m_autoScalingSpecificationHasBeenSet = true; m_autoScalingSpecification = std::move(value); }
68 private:
69
70 Aws::String m_region;
71 bool m_regionHasBeenSet = false;
72
73 AutoScalingSpecification m_autoScalingSpecification;
74 bool m_autoScalingSpecificationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Keyspaces
79} // namespace Aws
ReplicaAutoScalingSpecification & WithRegion(const char *value)
AWS_KEYSPACES_API ReplicaAutoScalingSpecification(Aws::Utils::Json::JsonView jsonValue)
ReplicaAutoScalingSpecification & WithAutoScalingSpecification(AutoScalingSpecification &&value)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicaAutoScalingSpecification & WithAutoScalingSpecification(const AutoScalingSpecification &value)
AWS_KEYSPACES_API ReplicaAutoScalingSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicaAutoScalingSpecification & WithRegion(Aws::String &&value)
ReplicaAutoScalingSpecification & WithRegion(const Aws::String &value)
void SetAutoScalingSpecification(const AutoScalingSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue