AWS SDK for C++  1.9.131
AWS SDK for C++
RelatedFinding.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetProductArn() const{ return m_productArn; }
44 
48  inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
49 
53  inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
54 
58  inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
59 
63  inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
64 
68  inline RelatedFinding& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
69 
73  inline RelatedFinding& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
74 
78  inline RelatedFinding& WithProductArn(const char* value) { SetProductArn(value); return *this;}
79 
80 
84  inline const Aws::String& GetId() const{ return m_id; }
85 
89  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
90 
94  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
95 
99  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
100 
104  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
105 
109  inline RelatedFinding& WithId(const Aws::String& value) { SetId(value); return *this;}
110 
114  inline RelatedFinding& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
115 
119  inline RelatedFinding& WithId(const char* value) { SetId(value); return *this;}
120 
121  private:
122 
123  Aws::String m_productArn;
124  bool m_productArnHasBeenSet;
125 
126  Aws::String m_id;
127  bool m_idHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SecurityHub
132 } // namespace Aws
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h