AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
BillOfMaterialsImportJob.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supplychain/model/ConfigurationJobStatus.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 SupplyChain
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SUPPLYCHAIN_API BillOfMaterialsImportJob() = default;
38 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
46 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 template<typename InstanceIdT = Aws::String>
48 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
49 template<typename InstanceIdT = Aws::String>
50 BillOfMaterialsImportJob& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetJobId() const { return m_jobId; }
58 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
59 template<typename JobIdT = Aws::String>
60 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
61 template<typename JobIdT = Aws::String>
62 BillOfMaterialsImportJob& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
64
66
69 inline ConfigurationJobStatus GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(ConfigurationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
74
76
79 inline const Aws::String& GetS3uri() const { return m_s3uri; }
80 inline bool S3uriHasBeenSet() const { return m_s3uriHasBeenSet; }
81 template<typename S3uriT = Aws::String>
82 void SetS3uri(S3uriT&& value) { m_s3uriHasBeenSet = true; m_s3uri = std::forward<S3uriT>(value); }
83 template<typename S3uriT = Aws::String>
84 BillOfMaterialsImportJob& WithS3uri(S3uriT&& value) { SetS3uri(std::forward<S3uriT>(value)); return *this;}
86
88
92 inline const Aws::String& GetMessage() const { return m_message; }
93 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
94 template<typename MessageT = Aws::String>
95 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
96 template<typename MessageT = Aws::String>
97 BillOfMaterialsImportJob& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
99 private:
100
101 Aws::String m_instanceId;
102 bool m_instanceIdHasBeenSet = false;
103
104 Aws::String m_jobId;
105 bool m_jobIdHasBeenSet = false;
106
108 bool m_statusHasBeenSet = false;
109
110 Aws::String m_s3uri;
111 bool m_s3uriHasBeenSet = false;
112
113 Aws::String m_message;
114 bool m_messageHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SupplyChain
119} // namespace Aws
BillOfMaterialsImportJob & WithInstanceId(InstanceIdT &&value)
AWS_SUPPLYCHAIN_API BillOfMaterialsImportJob()=default
AWS_SUPPLYCHAIN_API BillOfMaterialsImportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
BillOfMaterialsImportJob & WithJobId(JobIdT &&value)
BillOfMaterialsImportJob & WithMessage(MessageT &&value)
AWS_SUPPLYCHAIN_API BillOfMaterialsImportJob(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
BillOfMaterialsImportJob & WithStatus(ConfigurationJobStatus value)
BillOfMaterialsImportJob & WithS3uri(S3uriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue