AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DefaultExportDestination.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/ExportDestinationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AuditManager {
21namespace Model {
22
30 public:
31 AWS_AUDITMANAGER_API DefaultExportDestination() = default;
34 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ExportDestinationType GetDestinationType() const { return m_destinationType; }
41 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
43 m_destinationTypeHasBeenSet = true;
44 m_destinationType = value;
45 }
47 SetDestinationType(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDestination() const { return m_destination; }
57 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
58 template <typename DestinationT = Aws::String>
59 void SetDestination(DestinationT&& value) {
60 m_destinationHasBeenSet = true;
61 m_destination = std::forward<DestinationT>(value);
62 }
63 template <typename DestinationT = Aws::String>
65 SetDestination(std::forward<DestinationT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_destination;
73 bool m_destinationTypeHasBeenSet = false;
74 bool m_destinationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace AuditManager
79} // namespace Aws
AWS_AUDITMANAGER_API DefaultExportDestination()=default
DefaultExportDestination & WithDestinationType(ExportDestinationType value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API DefaultExportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API DefaultExportDestination(Aws::Utils::Json::JsonView jsonValue)
DefaultExportDestination & WithDestination(DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue