AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MetricAttributionOutput.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/model/S3DataConfig.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 Personalize
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PERSONALIZE_API MetricAttributionOutput() = default;
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const S3DataConfig& GetS3DataDestination() const { return m_s3DataDestination; }
45 inline bool S3DataDestinationHasBeenSet() const { return m_s3DataDestinationHasBeenSet; }
46 template<typename S3DataDestinationT = S3DataConfig>
47 void SetS3DataDestination(S3DataDestinationT&& value) { m_s3DataDestinationHasBeenSet = true; m_s3DataDestination = std::forward<S3DataDestinationT>(value); }
48 template<typename S3DataDestinationT = S3DataConfig>
49 MetricAttributionOutput& WithS3DataDestination(S3DataDestinationT&& value) { SetS3DataDestination(std::forward<S3DataDestinationT>(value)); return *this;}
51
53
60 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 template<typename RoleArnT = Aws::String>
63 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
64 template<typename RoleArnT = Aws::String>
65 MetricAttributionOutput& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
67 private:
68
69 S3DataConfig m_s3DataDestination;
70 bool m_s3DataDestinationHasBeenSet = false;
71
72 Aws::String m_roleArn;
73 bool m_roleArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Personalize
78} // namespace Aws
AWS_PERSONALIZE_API MetricAttributionOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
MetricAttributionOutput & WithS3DataDestination(S3DataDestinationT &&value)
MetricAttributionOutput & WithRoleArn(RoleArnT &&value)
AWS_PERSONALIZE_API MetricAttributionOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API MetricAttributionOutput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue