AWS SDK for C++  1.9.123
AWS SDK for C++
JobExecutionStatusDetails.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::Map<Aws::String, Aws::String>& GetDetailsMap() const{ return m_detailsMap; }
45 
49  inline bool DetailsMapHasBeenSet() const { return m_detailsMapHasBeenSet; }
50 
54  inline void SetDetailsMap(const Aws::Map<Aws::String, Aws::String>& value) { m_detailsMapHasBeenSet = true; m_detailsMap = value; }
55 
59  inline void SetDetailsMap(Aws::Map<Aws::String, Aws::String>&& value) { m_detailsMapHasBeenSet = true; m_detailsMap = std::move(value); }
60 
64  inline JobExecutionStatusDetails& WithDetailsMap(const Aws::Map<Aws::String, Aws::String>& value) { SetDetailsMap(value); return *this;}
65 
69  inline JobExecutionStatusDetails& WithDetailsMap(Aws::Map<Aws::String, Aws::String>&& value) { SetDetailsMap(std::move(value)); return *this;}
70 
74  inline JobExecutionStatusDetails& AddDetailsMap(const Aws::String& key, const Aws::String& value) { m_detailsMapHasBeenSet = true; m_detailsMap.emplace(key, value); return *this; }
75 
79  inline JobExecutionStatusDetails& AddDetailsMap(Aws::String&& key, const Aws::String& value) { m_detailsMapHasBeenSet = true; m_detailsMap.emplace(std::move(key), value); return *this; }
80 
84  inline JobExecutionStatusDetails& AddDetailsMap(const Aws::String& key, Aws::String&& value) { m_detailsMapHasBeenSet = true; m_detailsMap.emplace(key, std::move(value)); return *this; }
85 
89  inline JobExecutionStatusDetails& AddDetailsMap(Aws::String&& key, Aws::String&& value) { m_detailsMapHasBeenSet = true; m_detailsMap.emplace(std::move(key), std::move(value)); return *this; }
90 
94  inline JobExecutionStatusDetails& AddDetailsMap(const char* key, Aws::String&& value) { m_detailsMapHasBeenSet = true; m_detailsMap.emplace(key, std::move(value)); return *this; }
95 
99  inline JobExecutionStatusDetails& AddDetailsMap(Aws::String&& key, const char* value) { m_detailsMapHasBeenSet = true; m_detailsMap.emplace(std::move(key), value); return *this; }
100 
104  inline JobExecutionStatusDetails& AddDetailsMap(const char* key, const char* value) { m_detailsMapHasBeenSet = true; m_detailsMap.emplace(key, value); return *this; }
105 
106  private:
107 
109  bool m_detailsMapHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace IoT
114 } // namespace Aws
Aws::IoT::Model::JobExecutionStatusDetails::AddDetailsMap
JobExecutionStatusDetails & AddDetailsMap(const char *key, const char *value)
Definition: JobExecutionStatusDetails.h:104
Aws::IoT::Model::JobExecutionStatusDetails::JobExecutionStatusDetails
JobExecutionStatusDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobExecutionStatusDetails::WithDetailsMap
JobExecutionStatusDetails & WithDetailsMap(const Aws::Map< Aws::String, Aws::String > &value)
Definition: JobExecutionStatusDetails.h:64
Aws::IoT::Model::JobExecutionStatusDetails::AddDetailsMap
JobExecutionStatusDetails & AddDetailsMap(const char *key, Aws::String &&value)
Definition: JobExecutionStatusDetails.h:94
Aws::IoT::Model::JobExecutionStatusDetails::operator=
JobExecutionStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobExecutionStatusDetails::DetailsMapHasBeenSet
bool DetailsMapHasBeenSet() const
Definition: JobExecutionStatusDetails.h:49
Aws::IoT::Model::JobExecutionStatusDetails::AddDetailsMap
JobExecutionStatusDetails & AddDetailsMap(Aws::String &&key, const char *value)
Definition: JobExecutionStatusDetails.h:99
Aws::IoT::Model::JobExecutionStatusDetails::AddDetailsMap
JobExecutionStatusDetails & AddDetailsMap(const Aws::String &key, Aws::String &&value)
Definition: JobExecutionStatusDetails.h:84
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::JobExecutionStatusDetails::AddDetailsMap
JobExecutionStatusDetails & AddDetailsMap(Aws::String &&key, Aws::String &&value)
Definition: JobExecutionStatusDetails.h:89
Aws::IoT::Model::JobExecutionStatusDetails::AddDetailsMap
JobExecutionStatusDetails & AddDetailsMap(const Aws::String &key, const Aws::String &value)
Definition: JobExecutionStatusDetails.h:74
Aws::IoT::Model::JobExecutionStatusDetails::AddDetailsMap
JobExecutionStatusDetails & AddDetailsMap(Aws::String &&key, const Aws::String &value)
Definition: JobExecutionStatusDetails.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::JobExecutionStatusDetails::GetDetailsMap
const Aws::Map< Aws::String, Aws::String > & GetDetailsMap() const
Definition: JobExecutionStatusDetails.h:44
Aws::IoT::Model::JobExecutionStatusDetails::WithDetailsMap
JobExecutionStatusDetails & WithDetailsMap(Aws::Map< Aws::String, Aws::String > &&value)
Definition: JobExecutionStatusDetails.h:69
Aws::IoT::Model::JobExecutionStatusDetails::JobExecutionStatusDetails
JobExecutionStatusDetails()
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::JobExecutionStatusDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::JobExecutionStatusDetails
Definition: JobExecutionStatusDetails.h:33
AWSMap.h
Aws::IoT::Model::JobExecutionStatusDetails::SetDetailsMap
void SetDetailsMap(Aws::Map< Aws::String, Aws::String > &&value)
Definition: JobExecutionStatusDetails.h:59
Aws::IoT::Model::JobExecutionStatusDetails::SetDetailsMap
void SetDetailsMap(const Aws::Map< Aws::String, Aws::String > &value)
Definition: JobExecutionStatusDetails.h:54
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h