AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportJobResource.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
36 {
37 public:
38 AWS_PINPOINT_API ExportJobResource();
39 AWS_PINPOINT_API ExportJobResource(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
51 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
52 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
53 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
54 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
55 inline ExportJobResource& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
56 inline ExportJobResource& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
57 inline ExportJobResource& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
59
61
68 inline const Aws::String& GetS3UrlPrefix() const{ return m_s3UrlPrefix; }
69 inline bool S3UrlPrefixHasBeenSet() const { return m_s3UrlPrefixHasBeenSet; }
70 inline void SetS3UrlPrefix(const Aws::String& value) { m_s3UrlPrefixHasBeenSet = true; m_s3UrlPrefix = value; }
71 inline void SetS3UrlPrefix(Aws::String&& value) { m_s3UrlPrefixHasBeenSet = true; m_s3UrlPrefix = std::move(value); }
72 inline void SetS3UrlPrefix(const char* value) { m_s3UrlPrefixHasBeenSet = true; m_s3UrlPrefix.assign(value); }
73 inline ExportJobResource& WithS3UrlPrefix(const Aws::String& value) { SetS3UrlPrefix(value); return *this;}
74 inline ExportJobResource& WithS3UrlPrefix(Aws::String&& value) { SetS3UrlPrefix(std::move(value)); return *this;}
75 inline ExportJobResource& WithS3UrlPrefix(const char* value) { SetS3UrlPrefix(value); return *this;}
77
79
84 inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
85 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
86 inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
87 inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
88 inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
89 inline ExportJobResource& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
90 inline ExportJobResource& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
91 inline ExportJobResource& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
93
95
99 inline int GetSegmentVersion() const{ return m_segmentVersion; }
100 inline bool SegmentVersionHasBeenSet() const { return m_segmentVersionHasBeenSet; }
101 inline void SetSegmentVersion(int value) { m_segmentVersionHasBeenSet = true; m_segmentVersion = value; }
102 inline ExportJobResource& WithSegmentVersion(int value) { SetSegmentVersion(value); return *this;}
104 private:
105
106 Aws::String m_roleArn;
107 bool m_roleArnHasBeenSet = false;
108
109 Aws::String m_s3UrlPrefix;
110 bool m_s3UrlPrefixHasBeenSet = false;
111
112 Aws::String m_segmentId;
113 bool m_segmentIdHasBeenSet = false;
114
115 int m_segmentVersion;
116 bool m_segmentVersionHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Pinpoint
121} // namespace Aws
void SetRoleArn(const Aws::String &value)
ExportJobResource & WithS3UrlPrefix(const Aws::String &value)
ExportJobResource & WithSegmentId(const char *value)
ExportJobResource & WithRoleArn(const Aws::String &value)
ExportJobResource & WithRoleArn(const char *value)
const Aws::String & GetRoleArn() const
const Aws::String & GetS3UrlPrefix() const
void SetSegmentId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API ExportJobResource & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportJobResource & WithSegmentId(Aws::String &&value)
ExportJobResource & WithS3UrlPrefix(const char *value)
ExportJobResource & WithSegmentVersion(int value)
AWS_PINPOINT_API ExportJobResource(Aws::Utils::Json::JsonView jsonValue)
void SetS3UrlPrefix(const Aws::String &value)
ExportJobResource & WithS3UrlPrefix(Aws::String &&value)
ExportJobResource & WithSegmentId(const Aws::String &value)
ExportJobResource & WithRoleArn(Aws::String &&value)
const Aws::String & GetSegmentId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue