AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CreateOpportunityResult.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 PartnerCentralSelling
25{
26namespace Model
27{
29 {
30 public:
31 AWS_PARTNERCENTRALSELLING_API CreateOpportunityResult() = default;
34
35
37
43 inline const Aws::String& GetId() const { return m_id; }
44 template<typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
46 template<typename IdT = Aws::String>
47 CreateOpportunityResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
49
51
55 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
56 template<typename LastModifiedDateT = Aws::Utils::DateTime>
57 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
58 template<typename LastModifiedDateT = Aws::Utils::DateTime>
59 CreateOpportunityResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
61
63
68 inline const Aws::String& GetPartnerOpportunityIdentifier() const { return m_partnerOpportunityIdentifier; }
69 template<typename PartnerOpportunityIdentifierT = Aws::String>
70 void SetPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT&& value) { m_partnerOpportunityIdentifierHasBeenSet = true; m_partnerOpportunityIdentifier = std::forward<PartnerOpportunityIdentifierT>(value); }
71 template<typename PartnerOpportunityIdentifierT = Aws::String>
72 CreateOpportunityResult& WithPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT&& value) { SetPartnerOpportunityIdentifier(std::forward<PartnerOpportunityIdentifierT>(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 CreateOpportunityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 Aws::Utils::DateTime m_lastModifiedDate{};
89 bool m_lastModifiedDateHasBeenSet = false;
90
91 Aws::String m_partnerOpportunityIdentifier;
92 bool m_partnerOpportunityIdentifierHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace PartnerCentralSelling
100} // namespace Aws
AWS_PARTNERCENTRALSELLING_API CreateOpportunityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateOpportunityResult & WithRequestId(RequestIdT &&value)
void SetPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API CreateOpportunityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALSELLING_API CreateOpportunityResult()=default
CreateOpportunityResult & WithLastModifiedDate(LastModifiedDateT &&value)
CreateOpportunityResult & WithPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue