AWS SDK for C++

AWS SDK for C++ Version 1.11.854

Loading...
Searching...
No Matches
AddReplicaLocationInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/synthetics/Synthetics_EXPORTS.h>
9#include <aws/synthetics/model/VpcConfigInput.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Synthetics {
21namespace Model {
22
30 public:
31 AWS_SYNTHETICS_API AddReplicaLocationInput() = default;
34 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetLocation() const { return m_location; }
42 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
43 template <typename LocationT = Aws::String>
44 void SetLocation(LocationT&& value) {
45 m_locationHasBeenSet = true;
46 m_location = std::forward<LocationT>(value);
47 }
48 template <typename LocationT = Aws::String>
50 SetLocation(std::forward<LocationT>(value));
51 return *this;
52 }
54
56
60 inline const VpcConfigInput& GetVpcConfig() const { return m_vpcConfig; }
61 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
62 template <typename VpcConfigT = VpcConfigInput>
63 void SetVpcConfig(VpcConfigT&& value) {
64 m_vpcConfigHasBeenSet = true;
65 m_vpcConfig = std::forward<VpcConfigT>(value);
66 }
67 template <typename VpcConfigT = VpcConfigInput>
69 SetVpcConfig(std::forward<VpcConfigT>(value));
70 return *this;
71 }
73
75
81 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
82 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
83 template <typename KmsKeyArnT = Aws::String>
84 void SetKmsKeyArn(KmsKeyArnT&& value) {
85 m_kmsKeyArnHasBeenSet = true;
86 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
87 }
88 template <typename KmsKeyArnT = Aws::String>
90 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_location;
96
97 VpcConfigInput m_vpcConfig;
98
99 Aws::String m_kmsKeyArn;
100 bool m_locationHasBeenSet = false;
101 bool m_vpcConfigHasBeenSet = false;
102 bool m_kmsKeyArnHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Synthetics
107} // namespace Aws
AWS_SYNTHETICS_API AddReplicaLocationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AddReplicaLocationInput & WithLocation(LocationT &&value)
AWS_SYNTHETICS_API AddReplicaLocationInput()=default
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AddReplicaLocationInput & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_SYNTHETICS_API AddReplicaLocationInput(Aws::Utils::Json::JsonView jsonValue)
AddReplicaLocationInput & WithVpcConfig(VpcConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue