AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
CreateReadinessCheckRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53-recovery-readiness/Route53RecoveryReadinessRequest.h>
10#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Route53RecoveryReadiness {
16namespace Model {
17
21 public:
22 AWS_ROUTE53RECOVERYREADINESS_API CreateReadinessCheckRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateReadinessCheck"; }
29
30 AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetReadinessCheckName() const { return m_readinessCheckName; }
37 inline bool ReadinessCheckNameHasBeenSet() const { return m_readinessCheckNameHasBeenSet; }
38 template <typename ReadinessCheckNameT = Aws::String>
39 void SetReadinessCheckName(ReadinessCheckNameT&& value) {
40 m_readinessCheckNameHasBeenSet = true;
41 m_readinessCheckName = std::forward<ReadinessCheckNameT>(value);
42 }
43 template <typename ReadinessCheckNameT = Aws::String>
45 SetReadinessCheckName(std::forward<ReadinessCheckNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetResourceSetName() const { return m_resourceSetName; }
55 inline bool ResourceSetNameHasBeenSet() const { return m_resourceSetNameHasBeenSet; }
56 template <typename ResourceSetNameT = Aws::String>
57 void SetResourceSetName(ResourceSetNameT&& value) {
58 m_resourceSetNameHasBeenSet = true;
59 m_resourceSetName = std::forward<ResourceSetNameT>(value);
60 }
61 template <typename ResourceSetNameT = Aws::String>
63 SetResourceSetName(std::forward<ResourceSetNameT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
71 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
72 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
73 void SetTags(TagsT&& value) {
74 m_tagsHasBeenSet = true;
75 m_tags = std::forward<TagsT>(value);
76 }
77 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 SetTags(std::forward<TagsT>(value));
80 return *this;
81 }
82 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
83 CreateReadinessCheckRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
84 m_tagsHasBeenSet = true;
85 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_readinessCheckName;
91
92 Aws::String m_resourceSetName;
93
95 bool m_readinessCheckNameHasBeenSet = false;
96 bool m_resourceSetNameHasBeenSet = false;
97 bool m_tagsHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Route53RecoveryReadiness
102} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API CreateReadinessCheckRequest()=default
CreateReadinessCheckRequest & WithReadinessCheckName(ReadinessCheckNameT &&value)
CreateReadinessCheckRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override
CreateReadinessCheckRequest & WithResourceSetName(ResourceSetNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String