AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DestinationArnT = Aws::String>
51 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::forward<DestinationArnT>(value); }
52 template<typename DestinationArnT = Aws::String>
53 DestinationProperties& WithDestinationArn(DestinationArnT&& value) { SetDestinationArn(std::forward<DestinationArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
61 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
62 template<typename KmsKeyArnT = Aws::String>
63 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
64 template<typename KmsKeyArnT = Aws::String>
65 DestinationProperties& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
67 private:
68
69 Aws::String m_destinationArn;
70 bool m_destinationArnHasBeenSet = false;
71
72 Aws::String m_kmsKeyArn;
73 bool m_kmsKeyArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GuardDuty
78} // namespace Aws
DestinationProperties & WithDestinationArn(DestinationArnT &&value)
AWS_GUARDDUTY_API DestinationProperties()=default
AWS_GUARDDUTY_API DestinationProperties(Aws::Utils::Json::JsonView jsonValue)
DestinationProperties & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_GUARDDUTY_API DestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue