AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsDataAssociationResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
36 {
37 public:
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
49 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
50 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
51 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
52 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
53 inline AnalyticsDataAssociationResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
54 inline AnalyticsDataAssociationResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
55 inline AnalyticsDataAssociationResult& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
57
59
62 inline const Aws::String& GetTargetAccountId() const{ return m_targetAccountId; }
63 inline bool TargetAccountIdHasBeenSet() const { return m_targetAccountIdHasBeenSet; }
64 inline void SetTargetAccountId(const Aws::String& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = value; }
65 inline void SetTargetAccountId(Aws::String&& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = std::move(value); }
66 inline void SetTargetAccountId(const char* value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId.assign(value); }
68 inline AnalyticsDataAssociationResult& WithTargetAccountId(Aws::String&& value) { SetTargetAccountId(std::move(value)); return *this;}
69 inline AnalyticsDataAssociationResult& WithTargetAccountId(const char* value) { SetTargetAccountId(value); return *this;}
71
73
76 inline const Aws::String& GetResourceShareId() const{ return m_resourceShareId; }
77 inline bool ResourceShareIdHasBeenSet() const { return m_resourceShareIdHasBeenSet; }
78 inline void SetResourceShareId(const Aws::String& value) { m_resourceShareIdHasBeenSet = true; m_resourceShareId = value; }
79 inline void SetResourceShareId(Aws::String&& value) { m_resourceShareIdHasBeenSet = true; m_resourceShareId = std::move(value); }
80 inline void SetResourceShareId(const char* value) { m_resourceShareIdHasBeenSet = true; m_resourceShareId.assign(value); }
82 inline AnalyticsDataAssociationResult& WithResourceShareId(Aws::String&& value) { SetResourceShareId(std::move(value)); return *this;}
83 inline AnalyticsDataAssociationResult& WithResourceShareId(const char* value) { SetResourceShareId(value); return *this;}
85
87
90 inline const Aws::String& GetResourceShareArn() const{ return m_resourceShareArn; }
91 inline bool ResourceShareArnHasBeenSet() const { return m_resourceShareArnHasBeenSet; }
92 inline void SetResourceShareArn(const Aws::String& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = value; }
93 inline void SetResourceShareArn(Aws::String&& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = std::move(value); }
94 inline void SetResourceShareArn(const char* value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn.assign(value); }
96 inline AnalyticsDataAssociationResult& WithResourceShareArn(Aws::String&& value) { SetResourceShareArn(std::move(value)); return *this;}
97 inline AnalyticsDataAssociationResult& WithResourceShareArn(const char* value) { SetResourceShareArn(value); return *this;}
99 private:
100
101 Aws::String m_dataSetId;
102 bool m_dataSetIdHasBeenSet = false;
103
104 Aws::String m_targetAccountId;
105 bool m_targetAccountIdHasBeenSet = false;
106
107 Aws::String m_resourceShareId;
108 bool m_resourceShareIdHasBeenSet = false;
109
110 Aws::String m_resourceShareArn;
111 bool m_resourceShareArnHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Connect
116} // namespace Aws
AWS_CONNECT_API AnalyticsDataAssociationResult(Aws::Utils::Json::JsonView jsonValue)
AnalyticsDataAssociationResult & WithTargetAccountId(const Aws::String &value)
AnalyticsDataAssociationResult & WithResourceShareId(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyticsDataAssociationResult & WithTargetAccountId(Aws::String &&value)
AnalyticsDataAssociationResult & WithResourceShareArn(const char *value)
AnalyticsDataAssociationResult & WithDataSetId(Aws::String &&value)
AnalyticsDataAssociationResult & WithResourceShareArn(Aws::String &&value)
AnalyticsDataAssociationResult & WithResourceShareArn(const Aws::String &value)
AnalyticsDataAssociationResult & WithResourceShareId(const Aws::String &value)
AnalyticsDataAssociationResult & WithResourceShareId(Aws::String &&value)
AnalyticsDataAssociationResult & WithDataSetId(const char *value)
AnalyticsDataAssociationResult & WithDataSetId(const Aws::String &value)
AnalyticsDataAssociationResult & WithTargetAccountId(const char *value)
AWS_CONNECT_API AnalyticsDataAssociationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue