AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResolverConfigRequest.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53resolver/model/AutodefinedReverseFlag.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53Resolver
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROUTE53RESOLVER_API UpdateResolverConfigRequest();
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 "UpdateResolverConfig"; }
32
33 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
34
35 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
44 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
45 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
46 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
47 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
48 inline UpdateResolverConfigRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
49 inline UpdateResolverConfigRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
50 inline UpdateResolverConfigRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
52
54
68 inline const AutodefinedReverseFlag& GetAutodefinedReverseFlag() const{ return m_autodefinedReverseFlag; }
69 inline bool AutodefinedReverseFlagHasBeenSet() const { return m_autodefinedReverseFlagHasBeenSet; }
70 inline void SetAutodefinedReverseFlag(const AutodefinedReverseFlag& value) { m_autodefinedReverseFlagHasBeenSet = true; m_autodefinedReverseFlag = value; }
71 inline void SetAutodefinedReverseFlag(AutodefinedReverseFlag&& value) { m_autodefinedReverseFlagHasBeenSet = true; m_autodefinedReverseFlag = std::move(value); }
75 private:
76
77 Aws::String m_resourceId;
78 bool m_resourceIdHasBeenSet = false;
79
80 AutodefinedReverseFlag m_autodefinedReverseFlag;
81 bool m_autodefinedReverseFlagHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Route53Resolver
86} // namespace Aws
UpdateResolverConfigRequest & WithAutodefinedReverseFlag(AutodefinedReverseFlag &&value)
UpdateResolverConfigRequest & WithResourceId(Aws::String &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateResolverConfigRequest & WithAutodefinedReverseFlag(const AutodefinedReverseFlag &value)
void SetAutodefinedReverseFlag(const AutodefinedReverseFlag &value)
UpdateResolverConfigRequest & WithResourceId(const Aws::String &value)
UpdateResolverConfigRequest & WithResourceId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String