AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProposalSummary.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/marketplace-agreement/model/Resource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AgreementService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_AGREEMENTSERVICE_API ProposalSummary();
38 AWS_AGREEMENTSERVICE_API ProposalSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AGREEMENTSERVICE_API ProposalSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetOfferId() const{ return m_offerId; }
48 inline bool OfferIdHasBeenSet() const { return m_offerIdHasBeenSet; }
49 inline void SetOfferId(const Aws::String& value) { m_offerIdHasBeenSet = true; m_offerId = value; }
50 inline void SetOfferId(Aws::String&& value) { m_offerIdHasBeenSet = true; m_offerId = std::move(value); }
51 inline void SetOfferId(const char* value) { m_offerIdHasBeenSet = true; m_offerId.assign(value); }
52 inline ProposalSummary& WithOfferId(const Aws::String& value) { SetOfferId(value); return *this;}
53 inline ProposalSummary& WithOfferId(Aws::String&& value) { SetOfferId(std::move(value)); return *this;}
54 inline ProposalSummary& WithOfferId(const char* value) { SetOfferId(value); return *this;}
56
58
61 inline const Aws::Vector<Resource>& GetResources() const{ return m_resources; }
62 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
63 inline void SetResources(const Aws::Vector<Resource>& value) { m_resourcesHasBeenSet = true; m_resources = value; }
64 inline void SetResources(Aws::Vector<Resource>&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
65 inline ProposalSummary& WithResources(const Aws::Vector<Resource>& value) { SetResources(value); return *this;}
66 inline ProposalSummary& WithResources(Aws::Vector<Resource>&& value) { SetResources(std::move(value)); return *this;}
67 inline ProposalSummary& AddResources(const Resource& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; }
68 inline ProposalSummary& AddResources(Resource&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_offerId;
73 bool m_offerIdHasBeenSet = false;
74
75 Aws::Vector<Resource> m_resources;
76 bool m_resourcesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AgreementService
81} // namespace Aws
const Aws::Vector< Resource > & GetResources() const
void SetResources(Aws::Vector< Resource > &&value)
ProposalSummary & WithResources(Aws::Vector< Resource > &&value)
ProposalSummary & WithOfferId(Aws::String &&value)
ProposalSummary & WithOfferId(const char *value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ProposalSummary & AddResources(const Resource &value)
void SetResources(const Aws::Vector< Resource > &value)
AWS_AGREEMENTSERVICE_API ProposalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOfferId(const Aws::String &value)
AWS_AGREEMENTSERVICE_API ProposalSummary(Aws::Utils::Json::JsonView jsonValue)
ProposalSummary & AddResources(Resource &&value)
ProposalSummary & WithResources(const Aws::Vector< Resource > &value)
AWS_AGREEMENTSERVICE_API ProposalSummary()
ProposalSummary & WithOfferId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue