AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdatePortfolioResult.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 UpdatePortfolioResult() = default;
36
37
39
42 inline const PortfolioDetail& GetPortfolioDetail() const { return m_portfolioDetail; }
43 template<typename PortfolioDetailT = PortfolioDetail>
44 void SetPortfolioDetail(PortfolioDetailT&& value) { m_portfolioDetailHasBeenSet = true; m_portfolioDetail = std::forward<PortfolioDetailT>(value); }
45 template<typename PortfolioDetailT = PortfolioDetail>
46 UpdatePortfolioResult& WithPortfolioDetail(PortfolioDetailT&& value) { SetPortfolioDetail(std::forward<PortfolioDetailT>(value)); return *this;}
48
50
53 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
54 template<typename TagsT = Aws::Vector<Tag>>
55 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
56 template<typename TagsT = Aws::Vector<Tag>>
57 UpdatePortfolioResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
58 template<typename TagsT = Tag>
59 UpdatePortfolioResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template<typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
67 template<typename RequestIdT = Aws::String>
68 UpdatePortfolioResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
70 private:
71
72 PortfolioDetail m_portfolioDetail;
73 bool m_portfolioDetailHasBeenSet = false;
74
75 Aws::Vector<Tag> m_tags;
76 bool m_tagsHasBeenSet = false;
77
78 Aws::String m_requestId;
79 bool m_requestIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ServiceCatalog
84} // namespace Aws
UpdatePortfolioResult & WithRequestId(RequestIdT &&value)
UpdatePortfolioResult & WithPortfolioDetail(PortfolioDetailT &&value)
UpdatePortfolioResult & AddTags(TagsT &&value)
AWS_SERVICECATALOG_API UpdatePortfolioResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePortfolioResult & WithTags(TagsT &&value)
AWS_SERVICECATALOG_API UpdatePortfolioResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SERVICECATALOG_API UpdatePortfolioResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue