AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportJobResource.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
36 {
37 public:
38 AWS_PINPOINT_API ImportJobResource();
39 AWS_PINPOINT_API ImportJobResource(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline bool GetDefineSegment() const{ return m_defineSegment; }
50 inline bool DefineSegmentHasBeenSet() const { return m_defineSegmentHasBeenSet; }
51 inline void SetDefineSegment(bool value) { m_defineSegmentHasBeenSet = true; m_defineSegment = value; }
52 inline ImportJobResource& WithDefineSegment(bool value) { SetDefineSegment(value); return *this;}
54
56
63 inline const Aws::String& GetExternalId() const{ return m_externalId; }
64 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
65 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
66 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
67 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
68 inline ImportJobResource& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
69 inline ImportJobResource& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
70 inline ImportJobResource& WithExternalId(const char* value) { SetExternalId(value); return *this;}
72
74
82 inline const Format& GetFormat() const{ return m_format; }
83 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
84 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
85 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
86 inline ImportJobResource& WithFormat(const Format& value) { SetFormat(value); return *this;}
87 inline ImportJobResource& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
89
91
95 inline bool GetRegisterEndpoints() const{ return m_registerEndpoints; }
96 inline bool RegisterEndpointsHasBeenSet() const { return m_registerEndpointsHasBeenSet; }
97 inline void SetRegisterEndpoints(bool value) { m_registerEndpointsHasBeenSet = true; m_registerEndpoints = value; }
98 inline ImportJobResource& WithRegisterEndpoints(bool value) { SetRegisterEndpoints(value); return *this;}
100
102
107 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
108 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
109 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
110 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
111 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
112 inline ImportJobResource& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
113 inline ImportJobResource& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
114 inline ImportJobResource& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
116
118
128 inline const Aws::String& GetS3Url() const{ return m_s3Url; }
129 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
130 inline void SetS3Url(const Aws::String& value) { m_s3UrlHasBeenSet = true; m_s3Url = value; }
131 inline void SetS3Url(Aws::String&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::move(value); }
132 inline void SetS3Url(const char* value) { m_s3UrlHasBeenSet = true; m_s3Url.assign(value); }
133 inline ImportJobResource& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;}
134 inline ImportJobResource& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;}
135 inline ImportJobResource& WithS3Url(const char* value) { SetS3Url(value); return *this;}
137
139
143 inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
144 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
145 inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
146 inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
147 inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
148 inline ImportJobResource& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
149 inline ImportJobResource& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
150 inline ImportJobResource& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
152
154
158 inline const Aws::String& GetSegmentName() const{ return m_segmentName; }
159 inline bool SegmentNameHasBeenSet() const { return m_segmentNameHasBeenSet; }
160 inline void SetSegmentName(const Aws::String& value) { m_segmentNameHasBeenSet = true; m_segmentName = value; }
161 inline void SetSegmentName(Aws::String&& value) { m_segmentNameHasBeenSet = true; m_segmentName = std::move(value); }
162 inline void SetSegmentName(const char* value) { m_segmentNameHasBeenSet = true; m_segmentName.assign(value); }
163 inline ImportJobResource& WithSegmentName(const Aws::String& value) { SetSegmentName(value); return *this;}
164 inline ImportJobResource& WithSegmentName(Aws::String&& value) { SetSegmentName(std::move(value)); return *this;}
165 inline ImportJobResource& WithSegmentName(const char* value) { SetSegmentName(value); return *this;}
167 private:
168
169 bool m_defineSegment;
170 bool m_defineSegmentHasBeenSet = false;
171
172 Aws::String m_externalId;
173 bool m_externalIdHasBeenSet = false;
174
175 Format m_format;
176 bool m_formatHasBeenSet = false;
177
178 bool m_registerEndpoints;
179 bool m_registerEndpointsHasBeenSet = false;
180
181 Aws::String m_roleArn;
182 bool m_roleArnHasBeenSet = false;
183
184 Aws::String m_s3Url;
185 bool m_s3UrlHasBeenSet = false;
186
187 Aws::String m_segmentId;
188 bool m_segmentIdHasBeenSet = false;
189
190 Aws::String m_segmentName;
191 bool m_segmentNameHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace Pinpoint
196} // namespace Aws
ImportJobResource & WithS3Url(Aws::String &&value)
ImportJobResource & WithRoleArn(const char *value)
ImportJobResource & WithExternalId(const Aws::String &value)
ImportJobResource & WithS3Url(const char *value)
void SetSegmentName(const Aws::String &value)
ImportJobResource & WithRoleArn(Aws::String &&value)
ImportJobResource & WithExternalId(Aws::String &&value)
ImportJobResource & WithSegmentId(const char *value)
ImportJobResource & WithS3Url(const Aws::String &value)
ImportJobResource & WithRoleArn(const Aws::String &value)
ImportJobResource & WithSegmentId(Aws::String &&value)
ImportJobResource & WithExternalId(const char *value)
ImportJobResource & WithDefineSegment(bool value)
void SetS3Url(const Aws::String &value)
ImportJobResource & WithFormat(const Format &value)
ImportJobResource & WithSegmentName(Aws::String &&value)
ImportJobResource & WithFormat(Format &&value)
ImportJobResource & WithRegisterEndpoints(bool value)
ImportJobResource & WithSegmentId(const Aws::String &value)
AWS_PINPOINT_API ImportJobResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSegmentName() const
void SetRoleArn(const Aws::String &value)
const Aws::String & GetSegmentId() const
void SetExternalId(const Aws::String &value)
ImportJobResource & WithSegmentName(const Aws::String &value)
void SetSegmentId(const Aws::String &value)
ImportJobResource & WithSegmentName(const char *value)
AWS_PINPOINT_API ImportJobResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetExternalId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue