AWS SDK for C++  1.9.104
AWS SDK for C++
CreateInsightResult.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& GetInsightArn() const{ return m_insightArn; }
39 
43  inline void SetInsightArn(const Aws::String& value) { m_insightArn = value; }
44 
48  inline void SetInsightArn(Aws::String&& value) { m_insightArn = std::move(value); }
49 
53  inline void SetInsightArn(const char* value) { m_insightArn.assign(value); }
54 
58  inline CreateInsightResult& WithInsightArn(const Aws::String& value) { SetInsightArn(value); return *this;}
59 
63  inline CreateInsightResult& WithInsightArn(Aws::String&& value) { SetInsightArn(std::move(value)); return *this;}
64 
68  inline CreateInsightResult& WithInsightArn(const char* value) { SetInsightArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_insightArn;
73  };
74 
75 } // namespace Model
76 } // namespace SecurityHub
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SecurityHub::Model::CreateInsightResult::WithInsightArn
CreateInsightResult & WithInsightArn(const Aws::String &value)
Definition: CreateInsightResult.h:58
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::CreateInsightResult::operator=
CreateInsightResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SecurityHub::Model::CreateInsightResult
Definition: CreateInsightResult.h:28
Aws::SecurityHub::Model::CreateInsightResult::SetInsightArn
void SetInsightArn(const Aws::String &value)
Definition: CreateInsightResult.h:43
Aws::SecurityHub::Model::CreateInsightResult::WithInsightArn
CreateInsightResult & WithInsightArn(const char *value)
Definition: CreateInsightResult.h:68
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::CreateInsightResult::SetInsightArn
void SetInsightArn(const char *value)
Definition: CreateInsightResult.h:53
Aws::SecurityHub::Model::CreateInsightResult::WithInsightArn
CreateInsightResult & WithInsightArn(Aws::String &&value)
Definition: CreateInsightResult.h:63
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::CreateInsightResult::SetInsightArn
void SetInsightArn(Aws::String &&value)
Definition: CreateInsightResult.h:48
Aws::SecurityHub::Model::CreateInsightResult::GetInsightArn
const Aws::String & GetInsightArn() const
Definition: CreateInsightResult.h:38
Aws::SecurityHub::Model::CreateInsightResult::CreateInsightResult
CreateInsightResult()
Aws::SecurityHub::Model::CreateInsightResult::CreateInsightResult
CreateInsightResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)