AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateAnalyticsDataSetRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Connect
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "AssociateAnalyticsDataSet"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
43 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
44 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
45 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
46 inline AssociateAnalyticsDataSetRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
47 inline AssociateAnalyticsDataSetRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
48 inline AssociateAnalyticsDataSetRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
50
52
55 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
56 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
57 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
58 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
59 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
60 inline AssociateAnalyticsDataSetRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
61 inline AssociateAnalyticsDataSetRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
62 inline AssociateAnalyticsDataSetRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
64
66
72 inline const Aws::String& GetTargetAccountId() const{ return m_targetAccountId; }
73 inline bool TargetAccountIdHasBeenSet() const { return m_targetAccountIdHasBeenSet; }
74 inline void SetTargetAccountId(const Aws::String& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = value; }
75 inline void SetTargetAccountId(Aws::String&& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = std::move(value); }
76 inline void SetTargetAccountId(const char* value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId.assign(value); }
78 inline AssociateAnalyticsDataSetRequest& WithTargetAccountId(Aws::String&& value) { SetTargetAccountId(std::move(value)); return *this;}
79 inline AssociateAnalyticsDataSetRequest& WithTargetAccountId(const char* value) { SetTargetAccountId(value); return *this;}
81 private:
82
83 Aws::String m_instanceId;
84 bool m_instanceIdHasBeenSet = false;
85
86 Aws::String m_dataSetId;
87 bool m_dataSetIdHasBeenSet = false;
88
89 Aws::String m_targetAccountId;
90 bool m_targetAccountIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
AssociateAnalyticsDataSetRequest & WithTargetAccountId(const char *value)
AssociateAnalyticsDataSetRequest & WithDataSetId(Aws::String &&value)
AssociateAnalyticsDataSetRequest & WithInstanceId(Aws::String &&value)
AssociateAnalyticsDataSetRequest & WithTargetAccountId(Aws::String &&value)
AssociateAnalyticsDataSetRequest & WithInstanceId(const Aws::String &value)
AssociateAnalyticsDataSetRequest & WithInstanceId(const char *value)
AssociateAnalyticsDataSetRequest & WithTargetAccountId(const Aws::String &value)
AssociateAnalyticsDataSetRequest & WithDataSetId(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateAnalyticsDataSetRequest & WithDataSetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String