AWS SDK for C++  1.9.157
AWS SDK for C++
EnableImportFindingsForProductResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SecurityHub
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetProductSubscriptionArn() const{ return m_productSubscriptionArn; }
39 
43  inline void SetProductSubscriptionArn(const Aws::String& value) { m_productSubscriptionArn = value; }
44 
48  inline void SetProductSubscriptionArn(Aws::String&& value) { m_productSubscriptionArn = std::move(value); }
49 
53  inline void SetProductSubscriptionArn(const char* value) { m_productSubscriptionArn.assign(value); }
54 
58  inline EnableImportFindingsForProductResult& WithProductSubscriptionArn(const Aws::String& value) { SetProductSubscriptionArn(value); return *this;}
59 
63  inline EnableImportFindingsForProductResult& WithProductSubscriptionArn(Aws::String&& value) { SetProductSubscriptionArn(std::move(value)); return *this;}
64 
68  inline EnableImportFindingsForProductResult& WithProductSubscriptionArn(const char* value) { SetProductSubscriptionArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_productSubscriptionArn;
73  };
74 
75 } // namespace Model
76 } // namespace SecurityHub
77 } // namespace Aws
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::WithProductSubscriptionArn
EnableImportFindingsForProductResult & WithProductSubscriptionArn(Aws::String &&value)
Definition: EnableImportFindingsForProductResult.h:63
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::WithProductSubscriptionArn
EnableImportFindingsForProductResult & WithProductSubscriptionArn(const Aws::String &value)
Definition: EnableImportFindingsForProductResult.h:58
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::SetProductSubscriptionArn
void SetProductSubscriptionArn(const Aws::String &value)
Definition: EnableImportFindingsForProductResult.h:43
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::GetProductSubscriptionArn
const Aws::String & GetProductSubscriptionArn() const
Definition: EnableImportFindingsForProductResult.h:38
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::WithProductSubscriptionArn
EnableImportFindingsForProductResult & WithProductSubscriptionArn(const char *value)
Definition: EnableImportFindingsForProductResult.h:68
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::EnableImportFindingsForProductResult
EnableImportFindingsForProductResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::operator=
EnableImportFindingsForProductResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::EnableImportFindingsForProductResult
Definition: EnableImportFindingsForProductResult.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::SetProductSubscriptionArn
void SetProductSubscriptionArn(const char *value)
Definition: EnableImportFindingsForProductResult.h:53
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::EnableImportFindingsForProductResult
EnableImportFindingsForProductResult()
Aws::SecurityHub::Model::EnableImportFindingsForProductResult::SetProductSubscriptionArn
void SetProductSubscriptionArn(Aws::String &&value)
Definition: EnableImportFindingsForProductResult.h:48