AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Outcome.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FraudDetector
22{
23namespace Model
24{
25
31 class Outcome
32 {
33 public:
34 AWS_FRAUDDETECTOR_API Outcome() = default;
35 AWS_FRAUDDETECTOR_API Outcome(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FRAUDDETECTOR_API Outcome& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 Outcome& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 Outcome& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
69 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
70 template<typename LastUpdatedTimeT = Aws::String>
71 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
72 template<typename LastUpdatedTimeT = Aws::String>
73 Outcome& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
81 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
82 template<typename CreatedTimeT = Aws::String>
83 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
84 template<typename CreatedTimeT = Aws::String>
85 Outcome& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
87
89
92 inline const Aws::String& GetArn() const { return m_arn; }
93 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
94 template<typename ArnT = Aws::String>
95 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
96 template<typename ArnT = Aws::String>
97 Outcome& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 Aws::String m_lastUpdatedTime;
108 bool m_lastUpdatedTimeHasBeenSet = false;
109
110 Aws::String m_createdTime;
111 bool m_createdTimeHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace FraudDetector
119} // namespace Aws
AWS_FRAUDDETECTOR_API Outcome(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition Outcome.h:47
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Outcome.h:71
AWS_FRAUDDETECTOR_API Outcome()=default
bool LastUpdatedTimeHasBeenSet() const
Definition Outcome.h:69
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
Outcome & WithName(NameT &&value)
Definition Outcome.h:49
void SetCreatedTime(CreatedTimeT &&value)
Definition Outcome.h:83
const Aws::String & GetName() const
Definition Outcome.h:44
const Aws::String & GetCreatedTime() const
Definition Outcome.h:80
const Aws::String & GetDescription() const
Definition Outcome.h:56
Outcome & WithDescription(DescriptionT &&value)
Definition Outcome.h:61
const Aws::String & GetLastUpdatedTime() const
Definition Outcome.h:68
void SetDescription(DescriptionT &&value)
Definition Outcome.h:59
const Aws::String & GetArn() const
Definition Outcome.h:92
AWS_FRAUDDETECTOR_API Outcome & operator=(Aws::Utils::Json::JsonView jsonValue)
Outcome & WithCreatedTime(CreatedTimeT &&value)
Definition Outcome.h:85
Outcome & WithArn(ArnT &&value)
Definition Outcome.h:97
void SetArn(ArnT &&value)
Definition Outcome.h:95
Outcome & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Outcome.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue