AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePortfolioResult.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/PortfolioDetail.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/servicecatalog/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ServiceCatalog
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SERVICECATALOG_API CreatePortfolioResult();
36
37
39
42 inline const PortfolioDetail& GetPortfolioDetail() const{ return m_portfolioDetail; }
43 inline void SetPortfolioDetail(const PortfolioDetail& value) { m_portfolioDetail = value; }
44 inline void SetPortfolioDetail(PortfolioDetail&& value) { m_portfolioDetail = std::move(value); }
45 inline CreatePortfolioResult& WithPortfolioDetail(const PortfolioDetail& value) { SetPortfolioDetail(value); return *this;}
46 inline CreatePortfolioResult& WithPortfolioDetail(PortfolioDetail&& value) { SetPortfolioDetail(std::move(value)); return *this;}
48
50
53 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
54 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
55 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
56 inline CreatePortfolioResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
57 inline CreatePortfolioResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
58 inline CreatePortfolioResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
59 inline CreatePortfolioResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline CreatePortfolioResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline CreatePortfolioResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline CreatePortfolioResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 PortfolioDetail m_portfolioDetail;
75
76 Aws::Vector<Tag> m_tags;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace ServiceCatalog
83} // namespace Aws
AWS_SERVICECATALOG_API CreatePortfolioResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePortfolioResult & AddTags(const Tag &value)
CreatePortfolioResult & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_SERVICECATALOG_API CreatePortfolioResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePortfolioResult & WithRequestId(const Aws::String &value)
CreatePortfolioResult & WithPortfolioDetail(PortfolioDetail &&value)
CreatePortfolioResult & WithPortfolioDetail(const PortfolioDetail &value)
void SetPortfolioDetail(const PortfolioDetail &value)
CreatePortfolioResult & WithTags(const Aws::Vector< Tag > &value)
CreatePortfolioResult & WithRequestId(Aws::String &&value)
CreatePortfolioResult & WithRequestId(const char *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