AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
MLOutputConfiguration.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/Destination.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 CleanRoomsML {
21namespace Model {
22
30 public:
31 AWS_CLEANROOMSML_API MLOutputConfiguration() = default;
32 AWS_CLEANROOMSML_API MLOutputConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Destination& GetDestination() const { return m_destination; }
41 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
42 template <typename DestinationT = Destination>
43 void SetDestination(DestinationT&& value) {
44 m_destinationHasBeenSet = true;
45 m_destination = std::forward<DestinationT>(value);
46 }
47 template <typename DestinationT = Destination>
48 MLOutputConfiguration& WithDestination(DestinationT&& value) {
49 SetDestination(std::forward<DestinationT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
60 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
61 template <typename RoleArnT = Aws::String>
62 void SetRoleArn(RoleArnT&& value) {
63 m_roleArnHasBeenSet = true;
64 m_roleArn = std::forward<RoleArnT>(value);
65 }
66 template <typename RoleArnT = Aws::String>
68 SetRoleArn(std::forward<RoleArnT>(value));
69 return *this;
70 }
72 private:
73 Destination m_destination;
74
75 Aws::String m_roleArn;
76 bool m_destinationHasBeenSet = false;
77 bool m_roleArnHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CleanRoomsML
82} // namespace Aws
MLOutputConfiguration & WithDestination(DestinationT &&value)
AWS_CLEANROOMSML_API MLOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MLOutputConfiguration & WithRoleArn(RoleArnT &&value)
AWS_CLEANROOMSML_API MLOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMSML_API MLOutputConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue