AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportJobRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/Format.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 Pinpoint
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINT_API ImportJobRequest();
37 AWS_PINPOINT_API ImportJobRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline bool GetDefineSegment() const{ return m_defineSegment; }
48 inline bool DefineSegmentHasBeenSet() const { return m_defineSegmentHasBeenSet; }
49 inline void SetDefineSegment(bool value) { m_defineSegmentHasBeenSet = true; m_defineSegment = value; }
50 inline ImportJobRequest& WithDefineSegment(bool value) { SetDefineSegment(value); return *this;}
52
54
61 inline const Aws::String& GetExternalId() const{ return m_externalId; }
62 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
63 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
64 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
65 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
66 inline ImportJobRequest& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
67 inline ImportJobRequest& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
68 inline ImportJobRequest& WithExternalId(const char* value) { SetExternalId(value); return *this;}
70
72
79 inline const Format& GetFormat() const{ return m_format; }
80 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
81 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
82 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
83 inline ImportJobRequest& WithFormat(const Format& value) { SetFormat(value); return *this;}
84 inline ImportJobRequest& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
86
88
92 inline bool GetRegisterEndpoints() const{ return m_registerEndpoints; }
93 inline bool RegisterEndpointsHasBeenSet() const { return m_registerEndpointsHasBeenSet; }
94 inline void SetRegisterEndpoints(bool value) { m_registerEndpointsHasBeenSet = true; m_registerEndpoints = value; }
95 inline ImportJobRequest& WithRegisterEndpoints(bool value) { SetRegisterEndpoints(value); return *this;}
97
99
104 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
105 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
106 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
107 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
108 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
109 inline ImportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
110 inline ImportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
111 inline ImportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
113
115
125 inline const Aws::String& GetS3Url() const{ return m_s3Url; }
126 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
127 inline void SetS3Url(const Aws::String& value) { m_s3UrlHasBeenSet = true; m_s3Url = value; }
128 inline void SetS3Url(Aws::String&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::move(value); }
129 inline void SetS3Url(const char* value) { m_s3UrlHasBeenSet = true; m_s3Url.assign(value); }
130 inline ImportJobRequest& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;}
131 inline ImportJobRequest& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;}
132 inline ImportJobRequest& WithS3Url(const char* value) { SetS3Url(value); return *this;}
134
136
140 inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
141 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
142 inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
143 inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
144 inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
145 inline ImportJobRequest& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
146 inline ImportJobRequest& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
147 inline ImportJobRequest& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
149
151
155 inline const Aws::String& GetSegmentName() const{ return m_segmentName; }
156 inline bool SegmentNameHasBeenSet() const { return m_segmentNameHasBeenSet; }
157 inline void SetSegmentName(const Aws::String& value) { m_segmentNameHasBeenSet = true; m_segmentName = value; }
158 inline void SetSegmentName(Aws::String&& value) { m_segmentNameHasBeenSet = true; m_segmentName = std::move(value); }
159 inline void SetSegmentName(const char* value) { m_segmentNameHasBeenSet = true; m_segmentName.assign(value); }
160 inline ImportJobRequest& WithSegmentName(const Aws::String& value) { SetSegmentName(value); return *this;}
161 inline ImportJobRequest& WithSegmentName(Aws::String&& value) { SetSegmentName(std::move(value)); return *this;}
162 inline ImportJobRequest& WithSegmentName(const char* value) { SetSegmentName(value); return *this;}
164 private:
165
166 bool m_defineSegment;
167 bool m_defineSegmentHasBeenSet = false;
168
169 Aws::String m_externalId;
170 bool m_externalIdHasBeenSet = false;
171
172 Format m_format;
173 bool m_formatHasBeenSet = false;
174
175 bool m_registerEndpoints;
176 bool m_registerEndpointsHasBeenSet = false;
177
178 Aws::String m_roleArn;
179 bool m_roleArnHasBeenSet = false;
180
181 Aws::String m_s3Url;
182 bool m_s3UrlHasBeenSet = false;
183
184 Aws::String m_segmentId;
185 bool m_segmentIdHasBeenSet = false;
186
187 Aws::String m_segmentName;
188 bool m_segmentNameHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace Pinpoint
193} // namespace Aws
ImportJobRequest & WithSegmentName(const Aws::String &value)
ImportJobRequest & WithRegisterEndpoints(bool value)
ImportJobRequest & WithFormat(Format &&value)
void SetS3Url(const Aws::String &value)
ImportJobRequest & WithS3Url(Aws::String &&value)
ImportJobRequest & WithExternalId(Aws::String &&value)
void SetExternalId(Aws::String &&value)
ImportJobRequest & WithRoleArn(Aws::String &&value)
void SetSegmentId(const Aws::String &value)
AWS_PINPOINT_API ImportJobRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExternalId() const
ImportJobRequest & WithSegmentId(Aws::String &&value)
ImportJobRequest & WithRoleArn(const Aws::String &value)
ImportJobRequest & WithSegmentName(const char *value)
void SetRoleArn(const Aws::String &value)
ImportJobRequest & WithExternalId(const Aws::String &value)
const Aws::String & GetSegmentId() const
const Aws::String & GetSegmentName() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ImportJobRequest & WithSegmentName(Aws::String &&value)
void SetSegmentName(const Aws::String &value)
ImportJobRequest & WithS3Url(const Aws::String &value)
void SetExternalId(const Aws::String &value)
const Aws::String & GetRoleArn() const
ImportJobRequest & WithSegmentId(const Aws::String &value)
ImportJobRequest & WithS3Url(const char *value)
void SetSegmentName(Aws::String &&value)
ImportJobRequest & WithRoleArn(const char *value)
ImportJobRequest & WithExternalId(const char *value)
ImportJobRequest & WithDefineSegment(bool value)
const Aws::String & GetS3Url() const
ImportJobRequest & WithSegmentId(const char *value)
AWS_PINPOINT_API ImportJobRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobRequest & WithFormat(const Format &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue