AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResolverRuleRequest.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/ResolverRuleConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53Resolver
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROUTE53RESOLVER_API UpdateResolverRuleRequest();
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 "UpdateResolverRule"; }
32
33 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
34
35 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetResolverRuleId() const{ return m_resolverRuleId; }
43 inline bool ResolverRuleIdHasBeenSet() const { return m_resolverRuleIdHasBeenSet; }
44 inline void SetResolverRuleId(const Aws::String& value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId = value; }
45 inline void SetResolverRuleId(Aws::String&& value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId = std::move(value); }
46 inline void SetResolverRuleId(const char* value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId.assign(value); }
47 inline UpdateResolverRuleRequest& WithResolverRuleId(const Aws::String& value) { SetResolverRuleId(value); return *this;}
48 inline UpdateResolverRuleRequest& WithResolverRuleId(Aws::String&& value) { SetResolverRuleId(std::move(value)); return *this;}
49 inline UpdateResolverRuleRequest& WithResolverRuleId(const char* value) { SetResolverRuleId(value); return *this;}
51
53
56 inline const ResolverRuleConfig& GetConfig() const{ return m_config; }
57 inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
58 inline void SetConfig(const ResolverRuleConfig& value) { m_configHasBeenSet = true; m_config = value; }
59 inline void SetConfig(ResolverRuleConfig&& value) { m_configHasBeenSet = true; m_config = std::move(value); }
60 inline UpdateResolverRuleRequest& WithConfig(const ResolverRuleConfig& value) { SetConfig(value); return *this;}
61 inline UpdateResolverRuleRequest& WithConfig(ResolverRuleConfig&& value) { SetConfig(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_resolverRuleId;
66 bool m_resolverRuleIdHasBeenSet = false;
67
68 ResolverRuleConfig m_config;
69 bool m_configHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Route53Resolver
74} // namespace Aws
UpdateResolverRuleRequest & WithResolverRuleId(const char *value)
UpdateResolverRuleRequest & WithConfig(const ResolverRuleConfig &value)
UpdateResolverRuleRequest & WithResolverRuleId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
UpdateResolverRuleRequest & WithResolverRuleId(Aws::String &&value)
UpdateResolverRuleRequest & WithConfig(ResolverRuleConfig &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String