AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConfiguredAudienceModelOutputConfig.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/AudienceDestination.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 CleanRoomsML
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMSML_API ConfiguredAudienceModelOutputConfig() = default;
39 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const AudienceDestination& GetDestination() const { return m_destination; }
45 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
46 template<typename DestinationT = AudienceDestination>
47 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
48 template<typename DestinationT = AudienceDestination>
49 ConfiguredAudienceModelOutputConfig& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
51
53
56 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
57 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
58 template<typename RoleArnT = Aws::String>
59 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
60 template<typename RoleArnT = Aws::String>
61 ConfiguredAudienceModelOutputConfig& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
63 private:
64
65 AudienceDestination m_destination;
66 bool m_destinationHasBeenSet = false;
67
68 Aws::String m_roleArn;
69 bool m_roleArnHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CleanRoomsML
74} // namespace Aws
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMSML_API ConfiguredAudienceModelOutputConfig()=default
AWS_CLEANROOMSML_API ConfiguredAudienceModelOutputConfig(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelOutputConfig & WithDestination(DestinationT &&value)
AWS_CLEANROOMSML_API ConfiguredAudienceModelOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelOutputConfig & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue