AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
MetricAttributionOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/personalize/Personalize_EXPORTS.h>
9#include <aws/personalize/model/S3DataConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Personalize {
21namespace Model {
22
30 public:
31 AWS_PERSONALIZE_API MetricAttributionOutput() = default;
34 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const S3DataConfig& GetS3DataDestination() const { return m_s3DataDestination; }
39 inline bool S3DataDestinationHasBeenSet() const { return m_s3DataDestinationHasBeenSet; }
40 template <typename S3DataDestinationT = S3DataConfig>
41 void SetS3DataDestination(S3DataDestinationT&& value) {
42 m_s3DataDestinationHasBeenSet = true;
43 m_s3DataDestination = std::forward<S3DataDestinationT>(value);
44 }
45 template <typename S3DataDestinationT = S3DataConfig>
46 MetricAttributionOutput& WithS3DataDestination(S3DataDestinationT&& value) {
47 SetS3DataDestination(std::forward<S3DataDestinationT>(value));
48 return *this;
49 }
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) {
64 m_roleArnHasBeenSet = true;
65 m_roleArn = std::forward<RoleArnT>(value);
66 }
67 template <typename RoleArnT = Aws::String>
69 SetRoleArn(std::forward<RoleArnT>(value));
70 return *this;
71 }
73 private:
74 S3DataConfig m_s3DataDestination;
75
76 Aws::String m_roleArn;
77 bool m_s3DataDestinationHasBeenSet = false;
78 bool m_roleArnHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Personalize
83} // 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