AWS SDK for C++  1.9.102
AWS SDK for C++
CreateThreatIntelSetResult.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 GuardDuty
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetThreatIntelSetId() const{ return m_threatIntelSetId; }
39 
43  inline void SetThreatIntelSetId(const Aws::String& value) { m_threatIntelSetId = value; }
44 
48  inline void SetThreatIntelSetId(Aws::String&& value) { m_threatIntelSetId = std::move(value); }
49 
53  inline void SetThreatIntelSetId(const char* value) { m_threatIntelSetId.assign(value); }
54 
58  inline CreateThreatIntelSetResult& WithThreatIntelSetId(const Aws::String& value) { SetThreatIntelSetId(value); return *this;}
59 
63  inline CreateThreatIntelSetResult& WithThreatIntelSetId(Aws::String&& value) { SetThreatIntelSetId(std::move(value)); return *this;}
64 
68  inline CreateThreatIntelSetResult& WithThreatIntelSetId(const char* value) { SetThreatIntelSetId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_threatIntelSetId;
73  };
74 
75 } // namespace Model
76 } // namespace GuardDuty
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::CreateThreatIntelSetResult::WithThreatIntelSetId
CreateThreatIntelSetResult & WithThreatIntelSetId(const Aws::String &value)
Definition: CreateThreatIntelSetResult.h:58
Aws::GuardDuty::Model::CreateThreatIntelSetResult
Definition: CreateThreatIntelSetResult.h:28
Aws::GuardDuty::Model::CreateThreatIntelSetResult::WithThreatIntelSetId
CreateThreatIntelSetResult & WithThreatIntelSetId(Aws::String &&value)
Definition: CreateThreatIntelSetResult.h:63
Aws::GuardDuty::Model::CreateThreatIntelSetResult::CreateThreatIntelSetResult
CreateThreatIntelSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::CreateThreatIntelSetResult::CreateThreatIntelSetResult
CreateThreatIntelSetResult()
Aws::GuardDuty::Model::CreateThreatIntelSetResult::SetThreatIntelSetId
void SetThreatIntelSetId(Aws::String &&value)
Definition: CreateThreatIntelSetResult.h:48
Aws::GuardDuty::Model::CreateThreatIntelSetResult::GetThreatIntelSetId
const Aws::String & GetThreatIntelSetId() const
Definition: CreateThreatIntelSetResult.h:38
Aws::GuardDuty::Model::CreateThreatIntelSetResult::WithThreatIntelSetId
CreateThreatIntelSetResult & WithThreatIntelSetId(const char *value)
Definition: CreateThreatIntelSetResult.h:68
Aws::GuardDuty::Model::CreateThreatIntelSetResult::operator=
CreateThreatIntelSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::CreateThreatIntelSetResult::SetThreatIntelSetId
void SetThreatIntelSetId(const char *value)
Definition: CreateThreatIntelSetResult.h:53
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::CreateThreatIntelSetResult::SetThreatIntelSetId
void SetThreatIntelSetId(const Aws::String &value)
Definition: CreateThreatIntelSetResult.h:43