7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/model/LifecyclePolicyDetailExclusionRulesAmisLastLaunched.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetIsPublic(
bool value) { m_isPublicHasBeenSet =
true; m_isPublic = value; }
61 template<
typename RegionsT = Aws::Vector<Aws::String>>
62 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions = std::forward<RegionsT>(value); }
63 template<
typename RegionsT = Aws::Vector<Aws::String>>
65 template<
typename RegionsT = Aws::String>
76 template<
typename SharedAccountsT = Aws::Vector<Aws::String>>
77 void SetSharedAccounts(SharedAccountsT&& value) { m_sharedAccountsHasBeenSet =
true; m_sharedAccounts = std::forward<SharedAccountsT>(value); }
78 template<
typename SharedAccountsT = Aws::Vector<Aws::String>>
80 template<
typename SharedAccountsT = Aws::String>
91 template<
typename LastLaunchedT = LifecyclePolicyDetailExclusionRulesAmisLastLaunched>
92 void SetLastLaunched(LastLaunchedT&& value) { m_lastLaunchedHasBeenSet =
true; m_lastLaunched = std::forward<LastLaunchedT>(value); }
93 template<
typename LastLaunchedT = LifecyclePolicyDetailExclusionRulesAmisLastLaunched>
104 template<
typename TagMapT = Aws::Map<Aws::String, Aws::String>>
105 void SetTagMap(TagMapT&& value) { m_tagMapHasBeenSet =
true; m_tagMap = std::forward<TagMapT>(value); }
106 template<
typename TagMapT = Aws::Map<Aws::String, Aws::String>>
108 template<
typename TagMapKeyT = Aws::String,
typename TagMapValueT = Aws::String>
110 m_tagMapHasBeenSet =
true; m_tagMap.emplace(std::forward<TagMapKeyT>(key), std::forward<TagMapValueT>(value));
return *
this;
115 bool m_isPublic{
false};
116 bool m_isPublicHasBeenSet =
false;
119 bool m_regionsHasBeenSet =
false;
122 bool m_sharedAccountsHasBeenSet =
false;
124 LifecyclePolicyDetailExclusionRulesAmisLastLaunched m_lastLaunched;
125 bool m_lastLaunchedHasBeenSet =
false;
128 bool m_tagMapHasBeenSet =
false;
bool LastLaunchedHasBeenSet() const
LifecyclePolicyDetailExclusionRulesAmis & AddRegions(RegionsT &&value)
LifecyclePolicyDetailExclusionRulesAmis & WithRegions(RegionsT &&value)
const LifecyclePolicyDetailExclusionRulesAmisLastLaunched & GetLastLaunched() const
LifecyclePolicyDetailExclusionRulesAmis & WithTagMap(TagMapT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicyDetailExclusionRulesAmis & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IsPublicHasBeenSet() const
LifecyclePolicyDetailExclusionRulesAmis & WithSharedAccounts(SharedAccountsT &&value)
LifecyclePolicyDetailExclusionRulesAmis & AddTagMap(TagMapKeyT &&key, TagMapValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTagMap() const
void SetLastLaunched(LastLaunchedT &&value)
void SetTagMap(TagMapT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsPublic(bool value)
bool RegionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSharedAccounts() const
LifecyclePolicyDetailExclusionRulesAmis & WithLastLaunched(LastLaunchedT &&value)
bool TagMapHasBeenSet() const
LifecyclePolicyDetailExclusionRulesAmis & WithIsPublic(bool value)
void SetRegions(RegionsT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicyDetailExclusionRulesAmis()=default
LifecyclePolicyDetailExclusionRulesAmis & AddSharedAccounts(SharedAccountsT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicyDetailExclusionRulesAmis(Aws::Utils::Json::JsonView jsonValue)
void SetSharedAccounts(SharedAccountsT &&value)
bool SharedAccountsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue