AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCampaignResult.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/CampaignStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTFleetWise
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTFLEETWISE_API UpdateCampaignResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline UpdateCampaignResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline UpdateCampaignResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline UpdateCampaignResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline UpdateCampaignResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline UpdateCampaignResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline UpdateCampaignResult& WithName(const char* value) { SetName(value); return *this;}
61
63
75 inline const CampaignStatus& GetStatus() const{ return m_status; }
76 inline void SetStatus(const CampaignStatus& value) { m_status = value; }
77 inline void SetStatus(CampaignStatus&& value) { m_status = std::move(value); }
78 inline UpdateCampaignResult& WithStatus(const CampaignStatus& value) { SetStatus(value); return *this;}
79 inline UpdateCampaignResult& WithStatus(CampaignStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline UpdateCampaignResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline UpdateCampaignResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline UpdateCampaignResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_arn;
95
96 Aws::String m_name;
97
98 CampaignStatus m_status;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace IoTFleetWise
105} // namespace Aws
UpdateCampaignResult & WithStatus(const CampaignStatus &value)
UpdateCampaignResult & WithArn(const char *value)
UpdateCampaignResult & WithName(const Aws::String &value)
UpdateCampaignResult & WithName(const char *value)
UpdateCampaignResult & WithArn(const Aws::String &value)
UpdateCampaignResult & WithStatus(CampaignStatus &&value)
UpdateCampaignResult & WithRequestId(Aws::String &&value)
UpdateCampaignResult & WithName(Aws::String &&value)
UpdateCampaignResult & WithArn(Aws::String &&value)
UpdateCampaignResult & WithRequestId(const Aws::String &value)
UpdateCampaignResult & WithRequestId(const char *value)
AWS_IOTFLEETWISE_API UpdateCampaignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTFLEETWISE_API UpdateCampaignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue