AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ExternalIdT = Aws::String>
66 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
67 template<typename ExternalIdT = Aws::String>
68 ImportJobResource& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
70
72
80 inline Format GetFormat() const { return m_format; }
81 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
82 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
83 inline ImportJobResource& WithFormat(Format value) { SetFormat(value); return *this;}
85
87
91 inline bool GetRegisterEndpoints() const { return m_registerEndpoints; }
92 inline bool RegisterEndpointsHasBeenSet() const { return m_registerEndpointsHasBeenSet; }
93 inline void SetRegisterEndpoints(bool value) { m_registerEndpointsHasBeenSet = true; m_registerEndpoints = value; }
94 inline ImportJobResource& WithRegisterEndpoints(bool value) { SetRegisterEndpoints(value); return *this;}
96
98
103 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
104 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
105 template<typename RoleArnT = Aws::String>
106 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
107 template<typename RoleArnT = Aws::String>
108 ImportJobResource& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
110
112
122 inline const Aws::String& GetS3Url() const { return m_s3Url; }
123 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
124 template<typename S3UrlT = Aws::String>
125 void SetS3Url(S3UrlT&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::forward<S3UrlT>(value); }
126 template<typename S3UrlT = Aws::String>
127 ImportJobResource& WithS3Url(S3UrlT&& value) { SetS3Url(std::forward<S3UrlT>(value)); return *this;}
129
131
135 inline const Aws::String& GetSegmentId() const { return m_segmentId; }
136 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
137 template<typename SegmentIdT = Aws::String>
138 void SetSegmentId(SegmentIdT&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::forward<SegmentIdT>(value); }
139 template<typename SegmentIdT = Aws::String>
140 ImportJobResource& WithSegmentId(SegmentIdT&& value) { SetSegmentId(std::forward<SegmentIdT>(value)); return *this;}
142
144
148 inline const Aws::String& GetSegmentName() const { return m_segmentName; }
149 inline bool SegmentNameHasBeenSet() const { return m_segmentNameHasBeenSet; }
150 template<typename SegmentNameT = Aws::String>
151 void SetSegmentName(SegmentNameT&& value) { m_segmentNameHasBeenSet = true; m_segmentName = std::forward<SegmentNameT>(value); }
152 template<typename SegmentNameT = Aws::String>
153 ImportJobResource& WithSegmentName(SegmentNameT&& value) { SetSegmentName(std::forward<SegmentNameT>(value)); return *this;}
155 private:
156
157 bool m_defineSegment{false};
158 bool m_defineSegmentHasBeenSet = false;
159
160 Aws::String m_externalId;
161 bool m_externalIdHasBeenSet = false;
162
163 Format m_format{Format::NOT_SET};
164 bool m_formatHasBeenSet = false;
165
166 bool m_registerEndpoints{false};
167 bool m_registerEndpointsHasBeenSet = false;
168
169 Aws::String m_roleArn;
170 bool m_roleArnHasBeenSet = false;
171
172 Aws::String m_s3Url;
173 bool m_s3UrlHasBeenSet = false;
174
175 Aws::String m_segmentId;
176 bool m_segmentIdHasBeenSet = false;
177
178 Aws::String m_segmentName;
179 bool m_segmentNameHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace Pinpoint
184} // namespace Aws
ImportJobResource & WithFormat(Format value)
ImportJobResource & WithDefineSegment(bool value)
ImportJobResource & WithSegmentName(SegmentNameT &&value)
void SetSegmentName(SegmentNameT &&value)
ImportJobResource & WithRegisterEndpoints(bool value)
ImportJobResource & WithExternalId(ExternalIdT &&value)
AWS_PINPOINT_API ImportJobResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSegmentName() const
ImportJobResource & WithRoleArn(RoleArnT &&value)
const Aws::String & GetSegmentId() const
AWS_PINPOINT_API ImportJobResource()=default
ImportJobResource & WithSegmentId(SegmentIdT &&value)
AWS_PINPOINT_API ImportJobResource & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobResource & WithS3Url(S3UrlT &&value)
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