AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
48 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
49 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
50 inline BillOfMaterialsImportJob& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
51 inline BillOfMaterialsImportJob& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
52 inline BillOfMaterialsImportJob& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
54
56
59 inline const Aws::String& GetJobId() const{ return m_jobId; }
60 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
61 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
62 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
63 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
64 inline BillOfMaterialsImportJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 inline BillOfMaterialsImportJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
66 inline BillOfMaterialsImportJob& WithJobId(const char* value) { SetJobId(value); return *this;}
68
70
73 inline const ConfigurationJobStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const ConfigurationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(ConfigurationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline BillOfMaterialsImportJob& WithStatus(const ConfigurationJobStatus& value) { SetStatus(value); return *this;}
78 inline BillOfMaterialsImportJob& WithStatus(ConfigurationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetS3uri() const{ return m_s3uri; }
86 inline bool S3uriHasBeenSet() const { return m_s3uriHasBeenSet; }
87 inline void SetS3uri(const Aws::String& value) { m_s3uriHasBeenSet = true; m_s3uri = value; }
88 inline void SetS3uri(Aws::String&& value) { m_s3uriHasBeenSet = true; m_s3uri = std::move(value); }
89 inline void SetS3uri(const char* value) { m_s3uriHasBeenSet = true; m_s3uri.assign(value); }
90 inline BillOfMaterialsImportJob& WithS3uri(const Aws::String& value) { SetS3uri(value); return *this;}
91 inline BillOfMaterialsImportJob& WithS3uri(Aws::String&& value) { SetS3uri(std::move(value)); return *this;}
92 inline BillOfMaterialsImportJob& WithS3uri(const char* value) { SetS3uri(value); return *this;}
94
96
100 inline const Aws::String& GetMessage() const{ return m_message; }
101 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
102 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
103 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
104 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
105 inline BillOfMaterialsImportJob& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
106 inline BillOfMaterialsImportJob& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
107 inline BillOfMaterialsImportJob& WithMessage(const char* value) { SetMessage(value); return *this;}
109 private:
110
111 Aws::String m_instanceId;
112 bool m_instanceIdHasBeenSet = false;
113
114 Aws::String m_jobId;
115 bool m_jobIdHasBeenSet = false;
116
117 ConfigurationJobStatus m_status;
118 bool m_statusHasBeenSet = false;
119
120 Aws::String m_s3uri;
121 bool m_s3uriHasBeenSet = false;
122
123 Aws::String m_message;
124 bool m_messageHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace SupplyChain
129} // namespace Aws
BillOfMaterialsImportJob & WithS3uri(const char *value)
BillOfMaterialsImportJob & WithMessage(const char *value)
BillOfMaterialsImportJob & WithMessage(Aws::String &&value)
BillOfMaterialsImportJob & WithInstanceId(const char *value)
AWS_SUPPLYCHAIN_API BillOfMaterialsImportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
BillOfMaterialsImportJob & WithJobId(const char *value)
BillOfMaterialsImportJob & WithInstanceId(Aws::String &&value)
BillOfMaterialsImportJob & WithInstanceId(const Aws::String &value)
BillOfMaterialsImportJob & WithJobId(Aws::String &&value)
AWS_SUPPLYCHAIN_API BillOfMaterialsImportJob(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ConfigurationJobStatus &value)
BillOfMaterialsImportJob & WithS3uri(const Aws::String &value)
BillOfMaterialsImportJob & WithS3uri(Aws::String &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
BillOfMaterialsImportJob & WithStatus(const ConfigurationJobStatus &value)
BillOfMaterialsImportJob & WithStatus(ConfigurationJobStatus &&value)
BillOfMaterialsImportJob & WithJobId(const Aws::String &value)
BillOfMaterialsImportJob & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue