7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicecatalog/model/DescribePortfolioShareType.h>
22namespace ServiceCatalog
51 template<
typename PrincipalIdT = Aws::String>
52 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
53 template<
typename PrincipalIdT = Aws::String>
75 inline void SetAccepted(
bool value) { m_acceptedHasBeenSet =
true; m_accepted = value; }
86 inline void SetShareTagOptions(
bool value) { m_shareTagOptionsHasBeenSet =
true; m_shareTagOptions = value; }
97 inline void SetSharePrincipals(
bool value) { m_sharePrincipalsHasBeenSet =
true; m_sharePrincipals = value; }
103 bool m_principalIdHasBeenSet =
false;
106 bool m_typeHasBeenSet =
false;
108 bool m_accepted{
false};
109 bool m_acceptedHasBeenSet =
false;
111 bool m_shareTagOptions{
false};
112 bool m_shareTagOptionsHasBeenSet =
false;
114 bool m_sharePrincipals{
false};
115 bool m_sharePrincipalsHasBeenSet =
false;
bool ShareTagOptionsHasBeenSet() const
void SetAccepted(bool value)
bool AcceptedHasBeenSet() const
bool TypeHasBeenSet() const
AWS_SERVICECATALOG_API PortfolioShareDetail(Aws::Utils::Json::JsonView jsonValue)
PortfolioShareDetail & WithSharePrincipals(bool value)
bool SharePrincipalsHasBeenSet() const
void SetShareTagOptions(bool value)
bool GetSharePrincipals() const
PortfolioShareDetail & WithType(DescribePortfolioShareType value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
PortfolioShareDetail & WithAccepted(bool value)
void SetType(DescribePortfolioShareType value)
PortfolioShareDetail & WithShareTagOptions(bool value)
AWS_SERVICECATALOG_API PortfolioShareDetail()=default
bool GetShareTagOptions() const
const Aws::String & GetPrincipalId() const
DescribePortfolioShareType GetType() const
PortfolioShareDetail & WithPrincipalId(PrincipalIdT &&value)
bool PrincipalIdHasBeenSet() const
void SetPrincipalId(PrincipalIdT &&value)
AWS_SERVICECATALOG_API PortfolioShareDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSharePrincipals(bool value)
DescribePortfolioShareType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue