AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Graph.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Detective
23{
24namespace Model
25{
26
32 class Graph
33 {
34 public:
35 AWS_DETECTIVE_API Graph() = default;
36 AWS_DETECTIVE_API Graph(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DETECTIVE_API Graph& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 Graph& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
59 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
60 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
61 template<typename CreatedTimeT = Aws::Utils::DateTime>
62 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
63 template<typename CreatedTimeT = Aws::Utils::DateTime>
64 Graph& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
66 private:
67
68 Aws::String m_arn;
69 bool m_arnHasBeenSet = false;
70
71 Aws::Utils::DateTime m_createdTime{};
72 bool m_createdTimeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Detective
77} // namespace Aws
Graph & WithCreatedTime(CreatedTimeT &&value)
Definition Graph.h:64
bool ArnHasBeenSet() const
Definition Graph.h:46
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DETECTIVE_API Graph()=default
Graph & WithArn(ArnT &&value)
Definition Graph.h:50
bool CreatedTimeHasBeenSet() const
Definition Graph.h:60
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Graph.h:59
AWS_DETECTIVE_API Graph & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API Graph(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition Graph.h:45
void SetArn(ArnT &&value)
Definition Graph.h:48
void SetCreatedTime(CreatedTimeT &&value)
Definition Graph.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue