AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
JobResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EndUserMessaging {
20namespace Model {
21
28class JobResult {
29 public:
30 AWS_ENDUSERMESSAGING_API JobResult() = default;
31 AWS_ENDUSERMESSAGING_API JobResult(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ENDUSERMESSAGING_API JobResult& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetJobId() const { return m_jobId; }
41 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
42 template <typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) {
44 m_jobIdHasBeenSet = true;
45 m_jobId = std::forward<JobIdT>(value);
46 }
47 template <typename JobIdT = Aws::String>
48 JobResult& WithJobId(JobIdT&& value) {
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
59 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
60 template <typename ResourceIdentifierT = Aws::String>
61 void SetResourceIdentifier(ResourceIdentifierT&& value) {
62 m_resourceIdentifierHasBeenSet = true;
63 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
64 }
65 template <typename ResourceIdentifierT = Aws::String>
66 JobResult& WithResourceIdentifier(ResourceIdentifierT&& value) {
67 SetResourceIdentifier(std::forward<ResourceIdentifierT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_jobId;
73
74 Aws::String m_resourceIdentifier;
75 bool m_jobIdHasBeenSet = false;
76 bool m_resourceIdentifierHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace EndUserMessaging
81} // namespace Aws
void SetResourceIdentifier(ResourceIdentifierT &&value)
Definition JobResult.h:61
AWS_ENDUSERMESSAGING_API JobResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceIdentifier() const
Definition JobResult.h:58
JobResult & WithResourceIdentifier(ResourceIdentifierT &&value)
Definition JobResult.h:66
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetJobId() const
Definition JobResult.h:40
JobResult & WithJobId(JobIdT &&value)
Definition JobResult.h:48
AWS_ENDUSERMESSAGING_API JobResult(Aws::Utils::Json::JsonView jsonValue)
AWS_ENDUSERMESSAGING_API JobResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue