AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssessmentReportsDestination.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/AssessmentReportDestinationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AuditManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AUDITMANAGER_API AssessmentReportsDestination() = default;
39 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline AssessmentReportDestinationType GetDestinationType() const { return m_destinationType; }
47 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
48 inline void SetDestinationType(AssessmentReportDestinationType value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
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) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
60 template<typename DestinationT = Aws::String>
61 AssessmentReportsDestination& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
63 private:
64
66 bool m_destinationTypeHasBeenSet = false;
67
68 Aws::String m_destination;
69 bool m_destinationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace AuditManager
74} // namespace Aws
AWS_AUDITMANAGER_API AssessmentReportsDestination(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportsDestination & WithDestinationType(AssessmentReportDestinationType value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentReportsDestination & WithDestination(DestinationT &&value)
AWS_AUDITMANAGER_API AssessmentReportsDestination()=default
AWS_AUDITMANAGER_API AssessmentReportsDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationType(AssessmentReportDestinationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue