AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchAssociateAnalyticsDataSetRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchAssociateAnalyticsDataSet"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline BatchAssociateAnalyticsDataSetRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline BatchAssociateAnalyticsDataSetRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetDataSetIds() const{ return m_dataSetIds; }
57 inline bool DataSetIdsHasBeenSet() const { return m_dataSetIdsHasBeenSet; }
58 inline void SetDataSetIds(const Aws::Vector<Aws::String>& value) { m_dataSetIdsHasBeenSet = true; m_dataSetIds = value; }
59 inline void SetDataSetIds(Aws::Vector<Aws::String>&& value) { m_dataSetIdsHasBeenSet = true; m_dataSetIds = std::move(value); }
62 inline BatchAssociateAnalyticsDataSetRequest& AddDataSetIds(const Aws::String& value) { m_dataSetIdsHasBeenSet = true; m_dataSetIds.push_back(value); return *this; }
63 inline BatchAssociateAnalyticsDataSetRequest& AddDataSetIds(Aws::String&& value) { m_dataSetIdsHasBeenSet = true; m_dataSetIds.push_back(std::move(value)); return *this; }
64 inline BatchAssociateAnalyticsDataSetRequest& AddDataSetIds(const char* value) { m_dataSetIdsHasBeenSet = true; m_dataSetIds.push_back(value); return *this; }
66
68
74 inline const Aws::String& GetTargetAccountId() const{ return m_targetAccountId; }
75 inline bool TargetAccountIdHasBeenSet() const { return m_targetAccountIdHasBeenSet; }
76 inline void SetTargetAccountId(const Aws::String& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = value; }
77 inline void SetTargetAccountId(Aws::String&& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = std::move(value); }
78 inline void SetTargetAccountId(const char* value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId.assign(value); }
81 inline BatchAssociateAnalyticsDataSetRequest& WithTargetAccountId(const char* value) { SetTargetAccountId(value); return *this;}
83 private:
84
85 Aws::String m_instanceId;
86 bool m_instanceIdHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_dataSetIds;
89 bool m_dataSetIdsHasBeenSet = false;
90
91 Aws::String m_targetAccountId;
92 bool m_targetAccountIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Connect
97} // namespace Aws
BatchAssociateAnalyticsDataSetRequest & WithInstanceId(const Aws::String &value)
BatchAssociateAnalyticsDataSetRequest & WithTargetAccountId(const char *value)
BatchAssociateAnalyticsDataSetRequest & AddDataSetIds(const Aws::String &value)
BatchAssociateAnalyticsDataSetRequest & WithTargetAccountId(Aws::String &&value)
BatchAssociateAnalyticsDataSetRequest & WithInstanceId(const char *value)
BatchAssociateAnalyticsDataSetRequest & WithDataSetIds(Aws::Vector< Aws::String > &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
BatchAssociateAnalyticsDataSetRequest & WithTargetAccountId(const Aws::String &value)
BatchAssociateAnalyticsDataSetRequest & WithInstanceId(Aws::String &&value)
BatchAssociateAnalyticsDataSetRequest & WithDataSetIds(const Aws::Vector< Aws::String > &value)
BatchAssociateAnalyticsDataSetRequest & AddDataSetIds(const char *value)
BatchAssociateAnalyticsDataSetRequest & AddDataSetIds(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector