AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateIndexingRuleRequest.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/xray/model/IndexingRuleValueUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_XRAY_API UpdateIndexingRuleRequest() = 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 "UpdateIndexingRule"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 UpdateIndexingRuleRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline const IndexingRuleValueUpdate& GetRule() const { return m_rule; }
53 inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; }
54 template<typename RuleT = IndexingRuleValueUpdate>
55 void SetRule(RuleT&& value) { m_ruleHasBeenSet = true; m_rule = std::forward<RuleT>(value); }
56 template<typename RuleT = IndexingRuleValueUpdate>
57 UpdateIndexingRuleRequest& WithRule(RuleT&& value) { SetRule(std::forward<RuleT>(value)); return *this;}
59 private:
60
61 Aws::String m_name;
62 bool m_nameHasBeenSet = false;
63
65 bool m_ruleHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace XRay
70} // namespace Aws
UpdateIndexingRuleRequest & WithRule(RuleT &&value)
AWS_XRAY_API UpdateIndexingRuleRequest()=default
AWS_XRAY_API Aws::String SerializePayload() const override
const IndexingRuleValueUpdate & GetRule() const
virtual const char * GetServiceRequestName() const override
UpdateIndexingRuleRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String