AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateReadinessCheckRequest.h
1
6#pragma once
7#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
8#include <aws/route53-recovery-readiness/Route53RecoveryReadinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53RecoveryReadiness
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROUTE53RECOVERYREADINESS_API CreateReadinessCheckRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateReadinessCheck"; }
32
33 AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetReadinessCheckName() const { return m_readinessCheckName; }
41 inline bool ReadinessCheckNameHasBeenSet() const { return m_readinessCheckNameHasBeenSet; }
42 template<typename ReadinessCheckNameT = Aws::String>
43 void SetReadinessCheckName(ReadinessCheckNameT&& value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName = std::forward<ReadinessCheckNameT>(value); }
44 template<typename ReadinessCheckNameT = Aws::String>
45 CreateReadinessCheckRequest& WithReadinessCheckName(ReadinessCheckNameT&& value) { SetReadinessCheckName(std::forward<ReadinessCheckNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetResourceSetName() const { return m_resourceSetName; }
53 inline bool ResourceSetNameHasBeenSet() const { return m_resourceSetNameHasBeenSet; }
54 template<typename ResourceSetNameT = Aws::String>
55 void SetResourceSetName(ResourceSetNameT&& value) { m_resourceSetNameHasBeenSet = true; m_resourceSetName = std::forward<ResourceSetNameT>(value); }
56 template<typename ResourceSetNameT = Aws::String>
57 CreateReadinessCheckRequest& WithResourceSetName(ResourceSetNameT&& value) { SetResourceSetName(std::forward<ResourceSetNameT>(value)); return *this;}
59
61
62 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
63 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
64 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
65 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
66 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
67 CreateReadinessCheckRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
68 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
69 CreateReadinessCheckRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
70 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
71 }
73 private:
74
75 Aws::String m_readinessCheckName;
76 bool m_readinessCheckNameHasBeenSet = false;
77
78 Aws::String m_resourceSetName;
79 bool m_resourceSetNameHasBeenSet = false;
80
82 bool m_tagsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Route53RecoveryReadiness
87} // 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