AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalySourceMetadata.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_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 DevOpsGuru
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DEVOPSGURU_API AnomalySourceMetadata();
39 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSource() const{ return m_source; }
47 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
48 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
49 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
50 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
51 inline AnomalySourceMetadata& WithSource(const Aws::String& value) { SetSource(value); return *this;}
52 inline AnomalySourceMetadata& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
53 inline AnomalySourceMetadata& WithSource(const char* value) { SetSource(value); return *this;}
55
57
60 inline const Aws::String& GetSourceResourceName() const{ return m_sourceResourceName; }
61 inline bool SourceResourceNameHasBeenSet() const { return m_sourceResourceNameHasBeenSet; }
62 inline void SetSourceResourceName(const Aws::String& value) { m_sourceResourceNameHasBeenSet = true; m_sourceResourceName = value; }
63 inline void SetSourceResourceName(Aws::String&& value) { m_sourceResourceNameHasBeenSet = true; m_sourceResourceName = std::move(value); }
64 inline void SetSourceResourceName(const char* value) { m_sourceResourceNameHasBeenSet = true; m_sourceResourceName.assign(value); }
66 inline AnomalySourceMetadata& WithSourceResourceName(Aws::String&& value) { SetSourceResourceName(std::move(value)); return *this;}
67 inline AnomalySourceMetadata& WithSourceResourceName(const char* value) { SetSourceResourceName(value); return *this;}
69
71
74 inline const Aws::String& GetSourceResourceType() const{ return m_sourceResourceType; }
75 inline bool SourceResourceTypeHasBeenSet() const { return m_sourceResourceTypeHasBeenSet; }
76 inline void SetSourceResourceType(const Aws::String& value) { m_sourceResourceTypeHasBeenSet = true; m_sourceResourceType = value; }
77 inline void SetSourceResourceType(Aws::String&& value) { m_sourceResourceTypeHasBeenSet = true; m_sourceResourceType = std::move(value); }
78 inline void SetSourceResourceType(const char* value) { m_sourceResourceTypeHasBeenSet = true; m_sourceResourceType.assign(value); }
80 inline AnomalySourceMetadata& WithSourceResourceType(Aws::String&& value) { SetSourceResourceType(std::move(value)); return *this;}
81 inline AnomalySourceMetadata& WithSourceResourceType(const char* value) { SetSourceResourceType(value); return *this;}
83 private:
84
85 Aws::String m_source;
86 bool m_sourceHasBeenSet = false;
87
88 Aws::String m_sourceResourceName;
89 bool m_sourceResourceNameHasBeenSet = false;
90
91 Aws::String m_sourceResourceType;
92 bool m_sourceResourceTypeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DevOpsGuru
97} // namespace Aws
void SetSourceResourceType(const Aws::String &value)
AnomalySourceMetadata & WithSource(const Aws::String &value)
AnomalySourceMetadata & WithSourceResourceName(const char *value)
AWS_DEVOPSGURU_API AnomalySourceMetadata(Aws::Utils::Json::JsonView jsonValue)
AnomalySourceMetadata & WithSourceResourceType(const char *value)
AnomalySourceMetadata & WithSourceResourceName(const Aws::String &value)
AnomalySourceMetadata & WithSource(Aws::String &&value)
void SetSourceResourceName(const Aws::String &value)
AnomalySourceMetadata & WithSource(const char *value)
AnomalySourceMetadata & WithSourceResourceName(Aws::String &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API AnomalySourceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalySourceMetadata & WithSourceResourceType(const Aws::String &value)
AnomalySourceMetadata & WithSourceResourceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue