AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReadinessCheckName(const Aws::String& value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName = value; }
43 inline void SetReadinessCheckName(Aws::String&& value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName = std::move(value); }
44 inline void SetReadinessCheckName(const char* value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName.assign(value); }
46 inline CreateReadinessCheckRequest& WithReadinessCheckName(Aws::String&& value) { SetReadinessCheckName(std::move(value)); return *this;}
47 inline CreateReadinessCheckRequest& WithReadinessCheckName(const char* value) { SetReadinessCheckName(value); return *this;}
49
51
54 inline const Aws::String& GetResourceSetName() const{ return m_resourceSetName; }
55 inline bool ResourceSetNameHasBeenSet() const { return m_resourceSetNameHasBeenSet; }
56 inline void SetResourceSetName(const Aws::String& value) { m_resourceSetNameHasBeenSet = true; m_resourceSetName = value; }
57 inline void SetResourceSetName(Aws::String&& value) { m_resourceSetNameHasBeenSet = true; m_resourceSetName = std::move(value); }
58 inline void SetResourceSetName(const char* value) { m_resourceSetNameHasBeenSet = true; m_resourceSetName.assign(value); }
60 inline CreateReadinessCheckRequest& WithResourceSetName(Aws::String&& value) { SetResourceSetName(std::move(value)); return *this;}
61 inline CreateReadinessCheckRequest& WithResourceSetName(const char* value) { SetResourceSetName(value); return *this;}
63
65
66 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
67 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
68 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
69 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
71 inline CreateReadinessCheckRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
72 inline CreateReadinessCheckRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
73 inline CreateReadinessCheckRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
74 inline CreateReadinessCheckRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
75 inline CreateReadinessCheckRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
76 inline CreateReadinessCheckRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
77 inline CreateReadinessCheckRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
78 inline CreateReadinessCheckRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
80 private:
81
82 Aws::String m_readinessCheckName;
83 bool m_readinessCheckNameHasBeenSet = false;
84
85 Aws::String m_resourceSetName;
86 bool m_resourceSetNameHasBeenSet = false;
87
89 bool m_tagsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Route53RecoveryReadiness
94} // namespace Aws
CreateReadinessCheckRequest & WithReadinessCheckName(Aws::String &&value)
CreateReadinessCheckRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateReadinessCheckRequest & WithResourceSetName(const Aws::String &value)
CreateReadinessCheckRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReadinessCheckRequest & WithReadinessCheckName(const Aws::String &value)
CreateReadinessCheckRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateReadinessCheckRequest & AddTags(const char *key, const char *value)
CreateReadinessCheckRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateReadinessCheckRequest & WithReadinessCheckName(const char *value)
CreateReadinessCheckRequest & WithResourceSetName(Aws::String &&value)
CreateReadinessCheckRequest & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateReadinessCheckRequest & WithResourceSetName(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override
CreateReadinessCheckRequest & AddTags(Aws::String &&key, const char *value)
CreateReadinessCheckRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateReadinessCheckRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &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