AWS SDK for C++  1.9.108
AWS SDK for C++
AwsSecurityFindingIdentifier.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline AwsSecurityFindingIdentifier& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline AwsSecurityFindingIdentifier& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline AwsSecurityFindingIdentifier& WithId(const char* value) { SetId(value); return *this;}
80 
81 
87  inline const Aws::String& GetProductArn() const{ return m_productArn; }
88 
94  inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
95 
101  inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
102 
108  inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
109 
115  inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
116 
122  inline AwsSecurityFindingIdentifier& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
123 
129  inline AwsSecurityFindingIdentifier& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
130 
136  inline AwsSecurityFindingIdentifier& WithProductArn(const char* value) { SetProductArn(value); return *this;}
137 
138  private:
139 
140  Aws::String m_id;
141  bool m_idHasBeenSet;
142 
143  Aws::String m_productArn;
144  bool m_productArnHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace SecurityHub
149 } // namespace Aws
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::operator=
AwsSecurityFindingIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::SetId
void SetId(const char *value)
Definition: AwsSecurityFindingIdentifier.h:64
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::SetId
void SetId(const Aws::String &value)
Definition: AwsSecurityFindingIdentifier.h:54
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::WithProductArn
AwsSecurityFindingIdentifier & WithProductArn(const Aws::String &value)
Definition: AwsSecurityFindingIdentifier.h:122
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::SetProductArn
void SetProductArn(Aws::String &&value)
Definition: AwsSecurityFindingIdentifier.h:108
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::WithId
AwsSecurityFindingIdentifier & WithId(const Aws::String &value)
Definition: AwsSecurityFindingIdentifier.h:69
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::AwsSecurityFindingIdentifier
AwsSecurityFindingIdentifier(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::ProductArnHasBeenSet
bool ProductArnHasBeenSet() const
Definition: AwsSecurityFindingIdentifier.h:94
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::WithProductArn
AwsSecurityFindingIdentifier & WithProductArn(const char *value)
Definition: AwsSecurityFindingIdentifier.h:136
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AwsSecurityFindingIdentifier.h:49
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::SetId
void SetId(Aws::String &&value)
Definition: AwsSecurityFindingIdentifier.h:59
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::WithId
AwsSecurityFindingIdentifier & WithId(const char *value)
Definition: AwsSecurityFindingIdentifier.h:79
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::GetId
const Aws::String & GetId() const
Definition: AwsSecurityFindingIdentifier.h:44
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::SetProductArn
void SetProductArn(const Aws::String &value)
Definition: AwsSecurityFindingIdentifier.h:101
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::SetProductArn
void SetProductArn(const char *value)
Definition: AwsSecurityFindingIdentifier.h:115
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier
Definition: AwsSecurityFindingIdentifier.h:33
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::AwsSecurityFindingIdentifier
AwsSecurityFindingIdentifier()
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::WithProductArn
AwsSecurityFindingIdentifier & WithProductArn(Aws::String &&value)
Definition: AwsSecurityFindingIdentifier.h:129
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::GetProductArn
const Aws::String & GetProductArn() const
Definition: AwsSecurityFindingIdentifier.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier::WithId
AwsSecurityFindingIdentifier & WithId(Aws::String &&value)
Definition: AwsSecurityFindingIdentifier.h:74