AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Finding.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/ssm-incidents/model/FindingDetails.h>
10#include <aws/core/utils/memory/stl/AWSString.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 SSMIncidents
24{
25namespace Model
26{
27
36 class Finding
37 {
38 public:
39 AWS_SSMINCIDENTS_API Finding();
40 AWS_SSMINCIDENTS_API Finding(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SSMINCIDENTS_API Finding& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
50 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
51 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
52 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
53 inline Finding& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
54 inline Finding& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
56
58
61 inline const FindingDetails& GetDetails() const{ return m_details; }
62 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
63 inline void SetDetails(const FindingDetails& value) { m_detailsHasBeenSet = true; m_details = value; }
64 inline void SetDetails(FindingDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
65 inline Finding& WithDetails(const FindingDetails& value) { SetDetails(value); return *this;}
66 inline Finding& WithDetails(FindingDetails&& value) { SetDetails(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetId() const{ return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
76 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
77 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
78 inline Finding& WithId(const Aws::String& value) { SetId(value); return *this;}
79 inline Finding& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 inline Finding& WithId(const char* value) { SetId(value); return *this;}
82
84
88 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
89 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
90 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
91 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
92 inline Finding& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
93 inline Finding& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
95 private:
96
97 Aws::Utils::DateTime m_creationTime;
98 bool m_creationTimeHasBeenSet = false;
99
100 FindingDetails m_details;
101 bool m_detailsHasBeenSet = false;
102
103 Aws::String m_id;
104 bool m_idHasBeenSet = false;
105
106 Aws::Utils::DateTime m_lastModifiedTime;
107 bool m_lastModifiedTimeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SSMIncidents
112} // namespace Aws
void SetId(const Aws::String &value)
Definition Finding.h:75
bool LastModifiedTimeHasBeenSet() const
Definition Finding.h:89
void SetId(const char *value)
Definition Finding.h:77
void SetId(Aws::String &&value)
Definition Finding.h:76
Finding & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Finding.h:53
AWS_SSMINCIDENTS_API Finding(Aws::Utils::Json::JsonView jsonValue)
Finding & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Finding.h:54
const FindingDetails & GetDetails() const
Definition Finding.h:61
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Finding.h:52
Finding & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Finding.h:92
AWS_SSMINCIDENTS_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Finding.h:88
AWS_SSMINCIDENTS_API Finding()
Finding & WithId(const char *value)
Definition Finding.h:80
Finding & WithId(const Aws::String &value)
Definition Finding.h:78
Finding & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Finding.h:93
Finding & WithDetails(FindingDetails &&value)
Definition Finding.h:66
const Aws::String & GetId() const
Definition Finding.h:73
void SetDetails(const FindingDetails &value)
Definition Finding.h:63
Finding & WithDetails(const FindingDetails &value)
Definition Finding.h:65
const Aws::Utils::DateTime & GetCreationTime() const
Definition Finding.h:49
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Finding.h:51
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Finding.h:91
void SetDetails(FindingDetails &&value)
Definition Finding.h:64
bool CreationTimeHasBeenSet() const
Definition Finding.h:50
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
Finding & WithId(Aws::String &&value)
Definition Finding.h:79
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Finding.h:90
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue