AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3DataDestination(const S3DataConfig& value) { m_s3DataDestinationHasBeenSet = true; m_s3DataDestination = value; }
47 inline void SetS3DataDestination(S3DataConfig&& value) { m_s3DataDestinationHasBeenSet = true; m_s3DataDestination = std::move(value); }
49 inline MetricAttributionOutput& WithS3DataDestination(S3DataConfig&& value) { SetS3DataDestination(std::move(value)); return *this;}
51
53
60 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
63 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
64 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
65 inline MetricAttributionOutput& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
66 inline MetricAttributionOutput& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
67 inline MetricAttributionOutput& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
69 private:
70
71 S3DataConfig m_s3DataDestination;
72 bool m_s3DataDestinationHasBeenSet = false;
73
74 Aws::String m_roleArn;
75 bool m_roleArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Personalize
80} // namespace Aws
MetricAttributionOutput & WithRoleArn(const Aws::String &value)
MetricAttributionOutput & WithRoleArn(const char *value)
AWS_PERSONALIZE_API MetricAttributionOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricAttributionOutput & WithRoleArn(Aws::String &&value)
MetricAttributionOutput & WithS3DataDestination(const S3DataConfig &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
MetricAttributionOutput & WithS3DataDestination(S3DataConfig &&value)
AWS_PERSONALIZE_API MetricAttributionOutput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue