AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationProperties.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GUARDDUTY_API DestinationProperties();
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
49 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
50 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
51 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
52 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
53 inline DestinationProperties& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
54 inline DestinationProperties& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
55 inline DestinationProperties& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
57
59
62 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
63 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
64 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
65 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
66 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
67 inline DestinationProperties& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
68 inline DestinationProperties& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
69 inline DestinationProperties& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
71 private:
72
73 Aws::String m_destinationArn;
74 bool m_destinationArnHasBeenSet = false;
75
76 Aws::String m_kmsKeyArn;
77 bool m_kmsKeyArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GuardDuty
82} // namespace Aws
AWS_GUARDDUTY_API DestinationProperties(Aws::Utils::Json::JsonView jsonValue)
DestinationProperties & WithDestinationArn(Aws::String &&value)
DestinationProperties & WithDestinationArn(const Aws::String &value)
AWS_GUARDDUTY_API DestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationProperties & WithKmsKeyArn(const Aws::String &value)
DestinationProperties & WithKmsKeyArn(Aws::String &&value)
DestinationProperties & WithKmsKeyArn(const char *value)
DestinationProperties & WithDestinationArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue