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