AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportJobRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API ExportJobRequest();
36 AWS_PINPOINT_API ExportJobRequest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
50 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
51 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
52 inline ExportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
53 inline ExportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
54 inline ExportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
56
58
65 inline const Aws::String& GetS3UrlPrefix() const{ return m_s3UrlPrefix; }
66 inline bool S3UrlPrefixHasBeenSet() const { return m_s3UrlPrefixHasBeenSet; }
67 inline void SetS3UrlPrefix(const Aws::String& value) { m_s3UrlPrefixHasBeenSet = true; m_s3UrlPrefix = value; }
68 inline void SetS3UrlPrefix(Aws::String&& value) { m_s3UrlPrefixHasBeenSet = true; m_s3UrlPrefix = std::move(value); }
69 inline void SetS3UrlPrefix(const char* value) { m_s3UrlPrefixHasBeenSet = true; m_s3UrlPrefix.assign(value); }
70 inline ExportJobRequest& WithS3UrlPrefix(const Aws::String& value) { SetS3UrlPrefix(value); return *this;}
71 inline ExportJobRequest& WithS3UrlPrefix(Aws::String&& value) { SetS3UrlPrefix(std::move(value)); return *this;}
72 inline ExportJobRequest& WithS3UrlPrefix(const char* value) { SetS3UrlPrefix(value); return *this;}
74
76
81 inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
82 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
83 inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
84 inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
85 inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
86 inline ExportJobRequest& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
87 inline ExportJobRequest& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
88 inline ExportJobRequest& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
90
92
96 inline int GetSegmentVersion() const{ return m_segmentVersion; }
97 inline bool SegmentVersionHasBeenSet() const { return m_segmentVersionHasBeenSet; }
98 inline void SetSegmentVersion(int value) { m_segmentVersionHasBeenSet = true; m_segmentVersion = value; }
99 inline ExportJobRequest& WithSegmentVersion(int value) { SetSegmentVersion(value); return *this;}
101 private:
102
103 Aws::String m_roleArn;
104 bool m_roleArnHasBeenSet = false;
105
106 Aws::String m_s3UrlPrefix;
107 bool m_s3UrlPrefixHasBeenSet = false;
108
109 Aws::String m_segmentId;
110 bool m_segmentIdHasBeenSet = false;
111
112 int m_segmentVersion;
113 bool m_segmentVersionHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Pinpoint
118} // namespace Aws
const Aws::String & GetSegmentId() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleArn() const
ExportJobRequest & WithS3UrlPrefix(const Aws::String &value)
ExportJobRequest & WithRoleArn(const char *value)
ExportJobRequest & WithRoleArn(Aws::String &&value)
void SetS3UrlPrefix(const Aws::String &value)
ExportJobRequest & WithS3UrlPrefix(Aws::String &&value)
ExportJobRequest & WithRoleArn(const Aws::String &value)
ExportJobRequest & WithSegmentId(Aws::String &&value)
ExportJobRequest & WithS3UrlPrefix(const char *value)
AWS_PINPOINT_API ExportJobRequest(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
ExportJobRequest & WithSegmentId(const char *value)
ExportJobRequest & WithSegmentId(const Aws::String &value)
const Aws::String & GetS3UrlPrefix() const
AWS_PINPOINT_API ExportJobRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSegmentId(const Aws::String &value)
void SetS3UrlPrefix(Aws::String &&value)
void SetSegmentId(Aws::String &&value)
ExportJobRequest & WithSegmentVersion(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue