AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IndexingRule.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/xray/model/IndexingRuleValue.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace XRay
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_XRAY_API IndexingRule() = default;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 IndexingRule& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
61 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
62 template<typename ModifiedAtT = Aws::Utils::DateTime>
63 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
64 template<typename ModifiedAtT = Aws::Utils::DateTime>
65 IndexingRule& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
67
69
72 inline const IndexingRuleValue& GetRule() const { return m_rule; }
73 inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; }
74 template<typename RuleT = IndexingRuleValue>
75 void SetRule(RuleT&& value) { m_ruleHasBeenSet = true; m_rule = std::forward<RuleT>(value); }
76 template<typename RuleT = IndexingRuleValue>
77 IndexingRule& WithRule(RuleT&& value) { SetRule(std::forward<RuleT>(value)); return *this;}
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 Aws::Utils::DateTime m_modifiedAt{};
85 bool m_modifiedAtHasBeenSet = false;
86
87 IndexingRuleValue m_rule;
88 bool m_ruleHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace XRay
93} // namespace Aws
void SetName(NameT &&value)
const IndexingRuleValue & GetRule() const
AWS_XRAY_API IndexingRule(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API IndexingRule()=default
const Aws::String & GetName() const
void SetModifiedAt(ModifiedAtT &&value)
void SetRule(RuleT &&value)
AWS_XRAY_API IndexingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetModifiedAt() const
IndexingRule & WithModifiedAt(ModifiedAtT &&value)
IndexingRule & WithRule(RuleT &&value)
IndexingRule & WithName(NameT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue