AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AssessmentReportDestinationType& GetDestinationType() const{ return m_destinationType; }
47 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
48 inline void SetDestinationType(const AssessmentReportDestinationType& value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
49 inline void SetDestinationType(AssessmentReportDestinationType&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::move(value); }
53
55
58 inline const Aws::String& GetDestination() const{ return m_destination; }
59 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
60 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
61 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
62 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
63 inline AssessmentReportsDestination& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
64 inline AssessmentReportsDestination& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
65 inline AssessmentReportsDestination& WithDestination(const char* value) { SetDestination(value); return *this;}
67 private:
68
69 AssessmentReportDestinationType m_destinationType;
70 bool m_destinationTypeHasBeenSet = false;
71
72 Aws::String m_destination;
73 bool m_destinationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AuditManager
78} // namespace Aws
AssessmentReportsDestination & WithDestination(Aws::String &&value)
AssessmentReportsDestination & WithDestination(const Aws::String &value)
void SetDestinationType(AssessmentReportDestinationType &&value)
AWS_AUDITMANAGER_API AssessmentReportsDestination(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportsDestination & WithDestinationType(AssessmentReportDestinationType &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentReportsDestination & WithDestinationType(const AssessmentReportDestinationType &value)
AssessmentReportsDestination & WithDestination(const char *value)
void SetDestinationType(const AssessmentReportDestinationType &value)
AWS_AUDITMANAGER_API AssessmentReportsDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
const AssessmentReportDestinationType & GetDestinationType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue