AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExportDestination.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/S3Destination.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ComputeOptimizer {
20namespace Model {
21
29 public:
30 AWS_COMPUTEOPTIMIZER_API ExportDestination() = default;
31 AWS_COMPUTEOPTIMIZER_API ExportDestination(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COMPUTEOPTIMIZER_API ExportDestination& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const S3Destination& GetS3() const { return m_s3; }
42 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
43 template <typename S3T = S3Destination>
44 void SetS3(S3T&& value) {
45 m_s3HasBeenSet = true;
46 m_s3 = std::forward<S3T>(value);
47 }
48 template <typename S3T = S3Destination>
49 ExportDestination& WithS3(S3T&& value) {
50 SetS3(std::forward<S3T>(value));
51 return *this;
52 }
54 private:
55 S3Destination m_s3;
56 bool m_s3HasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ComputeOptimizer
61} // namespace Aws
AWS_COMPUTEOPTIMIZER_API ExportDestination()=default
AWS_COMPUTEOPTIMIZER_API ExportDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API ExportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue