AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateOpportunityResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralSelling {
23namespace Model {
25 public:
26 AWS_PARTNERCENTRALSELLING_API UpdateOpportunityResult() = default;
29
31
34 inline const Aws::String& GetId() const { return m_id; }
35 template <typename IdT = Aws::String>
36 void SetId(IdT&& value) {
37 m_idHasBeenSet = true;
38 m_id = std::forward<IdT>(value);
39 }
40 template <typename IdT = Aws::String>
42 SetId(std::forward<IdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
52 template <typename LastModifiedDateT = Aws::Utils::DateTime>
53 void SetLastModifiedDate(LastModifiedDateT&& value) {
54 m_lastModifiedDateHasBeenSet = true;
55 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
56 }
57 template <typename LastModifiedDateT = Aws::Utils::DateTime>
58 UpdateOpportunityResult& WithLastModifiedDate(LastModifiedDateT&& value) {
59 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_id;
80
81 Aws::Utils::DateTime m_lastModifiedDate{};
82
83 Aws::String m_requestId;
84 bool m_idHasBeenSet = false;
85 bool m_lastModifiedDateHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace PartnerCentralSelling
91} // namespace Aws
AWS_PARTNERCENTRALSELLING_API UpdateOpportunityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateOpportunityResult & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_PARTNERCENTRALSELLING_API UpdateOpportunityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateOpportunityResult & WithRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALSELLING_API UpdateOpportunityResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue