AWS SDK for C++  1.9.160
AWS SDK for C++
BatchPutAssetPropertyErrorEntry.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTSiteWise
24 {
25 namespace Model
26 {
27 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetEntryId() const{ return m_entryId; }
49 
53  inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
54 
58  inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
59 
63  inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
64 
68  inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
69 
73  inline BatchPutAssetPropertyErrorEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
74 
78  inline BatchPutAssetPropertyErrorEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
79 
83  inline BatchPutAssetPropertyErrorEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
84 
85 
89  inline const Aws::Vector<BatchPutAssetPropertyError>& GetErrors() const{ return m_errors; }
90 
94  inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
95 
99  inline void SetErrors(const Aws::Vector<BatchPutAssetPropertyError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
100 
104  inline void SetErrors(Aws::Vector<BatchPutAssetPropertyError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
105 
109  inline BatchPutAssetPropertyErrorEntry& WithErrors(const Aws::Vector<BatchPutAssetPropertyError>& value) { SetErrors(value); return *this;}
110 
114  inline BatchPutAssetPropertyErrorEntry& WithErrors(Aws::Vector<BatchPutAssetPropertyError>&& value) { SetErrors(std::move(value)); return *this;}
115 
119  inline BatchPutAssetPropertyErrorEntry& AddErrors(const BatchPutAssetPropertyError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
120 
124  inline BatchPutAssetPropertyErrorEntry& AddErrors(BatchPutAssetPropertyError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
125 
126  private:
127 
128  Aws::String m_entryId;
129  bool m_entryIdHasBeenSet;
130 
132  bool m_errorsHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace IoTSiteWise
137 } // namespace Aws
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::SetEntryId
void SetEntryId(const Aws::String &value)
Definition: BatchPutAssetPropertyErrorEntry.h:58
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::SetErrors
void SetErrors(Aws::Vector< BatchPutAssetPropertyError > &&value)
Definition: BatchPutAssetPropertyErrorEntry.h:104
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::GetEntryId
const Aws::String & GetEntryId() const
Definition: BatchPutAssetPropertyErrorEntry.h:48
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::BatchPutAssetPropertyErrorEntry
BatchPutAssetPropertyErrorEntry()
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::ErrorsHasBeenSet
bool ErrorsHasBeenSet() const
Definition: BatchPutAssetPropertyErrorEntry.h:94
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::SetEntryId
void SetEntryId(Aws::String &&value)
Definition: BatchPutAssetPropertyErrorEntry.h:63
AWSVector.h
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::EntryIdHasBeenSet
bool EntryIdHasBeenSet() const
Definition: BatchPutAssetPropertyErrorEntry.h:53
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::BatchPutAssetPropertyErrorEntry
BatchPutAssetPropertyErrorEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::WithEntryId
BatchPutAssetPropertyErrorEntry & WithEntryId(const Aws::String &value)
Definition: BatchPutAssetPropertyErrorEntry.h:73
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::AddErrors
BatchPutAssetPropertyErrorEntry & AddErrors(const BatchPutAssetPropertyError &value)
Definition: BatchPutAssetPropertyErrorEntry.h:119
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::SetEntryId
void SetEntryId(const char *value)
Definition: BatchPutAssetPropertyErrorEntry.h:68
Aws::IoTSiteWise::Model::BatchPutAssetPropertyError
Definition: BatchPutAssetPropertyError.h:36
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::WithErrors
BatchPutAssetPropertyErrorEntry & WithErrors(Aws::Vector< BatchPutAssetPropertyError > &&value)
Definition: BatchPutAssetPropertyErrorEntry.h:114
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::WithErrors
BatchPutAssetPropertyErrorEntry & WithErrors(const Aws::Vector< BatchPutAssetPropertyError > &value)
Definition: BatchPutAssetPropertyErrorEntry.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
BatchPutAssetPropertyError.h
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::SetErrors
void SetErrors(const Aws::Vector< BatchPutAssetPropertyError > &value)
Definition: BatchPutAssetPropertyErrorEntry.h:99
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::WithEntryId
BatchPutAssetPropertyErrorEntry & WithEntryId(const char *value)
Definition: BatchPutAssetPropertyErrorEntry.h:83
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::WithEntryId
BatchPutAssetPropertyErrorEntry & WithEntryId(Aws::String &&value)
Definition: BatchPutAssetPropertyErrorEntry.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::operator=
BatchPutAssetPropertyErrorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::AddErrors
BatchPutAssetPropertyErrorEntry & AddErrors(BatchPutAssetPropertyError &&value)
Definition: BatchPutAssetPropertyErrorEntry.h:124
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry::GetErrors
const Aws::Vector< BatchPutAssetPropertyError > & GetErrors() const
Definition: BatchPutAssetPropertyErrorEntry.h:89
Aws::IoTSiteWise::Model::BatchPutAssetPropertyErrorEntry
Definition: BatchPutAssetPropertyErrorEntry.h:37