AWS SDK for C++  1.9.125
AWS SDK for C++
AssociateTargetsWithJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetJobArn() const{ return m_jobArn; }
39 
43  inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
44 
48  inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
49 
53  inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
54 
58  inline AssociateTargetsWithJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
59 
63  inline AssociateTargetsWithJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
64 
68  inline AssociateTargetsWithJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetJobId() const{ return m_jobId; }
75 
79  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
80 
84  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
85 
89  inline void SetJobId(const char* value) { m_jobId.assign(value); }
90 
94  inline AssociateTargetsWithJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
95 
99  inline AssociateTargetsWithJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
100 
104  inline AssociateTargetsWithJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
105 
106 
110  inline const Aws::String& GetDescription() const{ return m_description; }
111 
115  inline void SetDescription(const Aws::String& value) { m_description = value; }
116 
120  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
121 
125  inline void SetDescription(const char* value) { m_description.assign(value); }
126 
130  inline AssociateTargetsWithJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 
135  inline AssociateTargetsWithJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
136 
140  inline AssociateTargetsWithJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
141 
142  private:
143 
144  Aws::String m_jobArn;
145 
146  Aws::String m_jobId;
147 
148  Aws::String m_description;
149  };
150 
151 } // namespace Model
152 } // namespace IoT
153 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::AssociateTargetsWithJobResult::GetJobArn
const Aws::String & GetJobArn() const
Definition: AssociateTargetsWithJobResult.h:38
Aws::IoT::Model::AssociateTargetsWithJobResult::WithJobArn
AssociateTargetsWithJobResult & WithJobArn(Aws::String &&value)
Definition: AssociateTargetsWithJobResult.h:63
Aws::IoT::Model::AssociateTargetsWithJobResult::GetDescription
const Aws::String & GetDescription() const
Definition: AssociateTargetsWithJobResult.h:110
Aws::IoT::Model::AssociateTargetsWithJobResult
Definition: AssociateTargetsWithJobResult.h:28
Aws::IoT::Model::AssociateTargetsWithJobResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: AssociateTargetsWithJobResult.h:120
Aws::IoT::Model::AssociateTargetsWithJobResult::SetJobArn
void SetJobArn(Aws::String &&value)
Definition: AssociateTargetsWithJobResult.h:48
Aws::IoT::Model::AssociateTargetsWithJobResult::WithJobArn
AssociateTargetsWithJobResult & WithJobArn(const Aws::String &value)
Definition: AssociateTargetsWithJobResult.h:58
Aws::IoT::Model::AssociateTargetsWithJobResult::operator=
AssociateTargetsWithJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::AssociateTargetsWithJobResult::WithDescription
AssociateTargetsWithJobResult & WithDescription(Aws::String &&value)
Definition: AssociateTargetsWithJobResult.h:135
Aws::IoT::Model::AssociateTargetsWithJobResult::WithJobId
AssociateTargetsWithJobResult & WithJobId(const Aws::String &value)
Definition: AssociateTargetsWithJobResult.h:94
Aws::IoT::Model::AssociateTargetsWithJobResult::WithJobArn
AssociateTargetsWithJobResult & WithJobArn(const char *value)
Definition: AssociateTargetsWithJobResult.h:68
Aws::IoT::Model::AssociateTargetsWithJobResult::AssociateTargetsWithJobResult
AssociateTargetsWithJobResult()
Aws::IoT::Model::AssociateTargetsWithJobResult::WithJobId
AssociateTargetsWithJobResult & WithJobId(Aws::String &&value)
Definition: AssociateTargetsWithJobResult.h:99
Aws::IoT::Model::AssociateTargetsWithJobResult::SetJobArn
void SetJobArn(const Aws::String &value)
Definition: AssociateTargetsWithJobResult.h:43
Aws::IoT::Model::AssociateTargetsWithJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: AssociateTargetsWithJobResult.h:74
Aws::IoT::Model::AssociateTargetsWithJobResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: AssociateTargetsWithJobResult.h:115
Aws::IoT::Model::AssociateTargetsWithJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: AssociateTargetsWithJobResult.h:79
AWSString.h
Aws::IoT::Model::AssociateTargetsWithJobResult::WithJobId
AssociateTargetsWithJobResult & WithJobId(const char *value)
Definition: AssociateTargetsWithJobResult.h:104
Aws::IoT::Model::AssociateTargetsWithJobResult::WithDescription
AssociateTargetsWithJobResult & WithDescription(const char *value)
Definition: AssociateTargetsWithJobResult.h:140
Aws::IoT::Model::AssociateTargetsWithJobResult::SetDescription
void SetDescription(const char *value)
Definition: AssociateTargetsWithJobResult.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AssociateTargetsWithJobResult::SetJobId
void SetJobId(const char *value)
Definition: AssociateTargetsWithJobResult.h:89
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::AssociateTargetsWithJobResult::AssociateTargetsWithJobResult
AssociateTargetsWithJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::AssociateTargetsWithJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: AssociateTargetsWithJobResult.h:84
Aws::IoT::Model::AssociateTargetsWithJobResult::SetJobArn
void SetJobArn(const char *value)
Definition: AssociateTargetsWithJobResult.h:53
Aws::IoT::Model::AssociateTargetsWithJobResult::WithDescription
AssociateTargetsWithJobResult & WithDescription(const Aws::String &value)
Definition: AssociateTargetsWithJobResult.h:130
IoT_EXPORTS.h