7#include <aws/application-insights/ApplicationInsightsRequest.h>
8#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
9#include <aws/application-insights/model/GroupingType.h>
10#include <aws/application-insights/model/Tag.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace ApplicationInsights {
42 template <
typename ResourceGroupNameT = Aws::String>
44 m_resourceGroupNameHasBeenSet =
true;
45 m_resourceGroupName = std::forward<ResourceGroupNameT>(value);
47 template <
typename ResourceGroupNameT = Aws::String>
62 m_opsCenterEnabledHasBeenSet =
true;
63 m_opsCenterEnabled = value;
80 m_cWEMonitorEnabledHasBeenSet =
true;
81 m_cWEMonitorEnabled = value;
97 template <
typename OpsItemSNSTopicArnT = Aws::String>
99 m_opsItemSNSTopicArnHasBeenSet =
true;
100 m_opsItemSNSTopicArn = std::forward<OpsItemSNSTopicArnT>(value);
102 template <
typename OpsItemSNSTopicArnT = Aws::String>
115 template <
typename SNSNotificationArnT = Aws::String>
117 m_sNSNotificationArnHasBeenSet =
true;
118 m_sNSNotificationArn = std::forward<SNSNotificationArnT>(value);
120 template <
typename SNSNotificationArnT = Aws::String>
135 template <
typename TagsT = Aws::Vector<Tag>>
137 m_tagsHasBeenSet =
true;
138 m_tags = std::forward<TagsT>(value);
140 template <
typename TagsT = Aws::Vector<Tag>>
142 SetTags(std::forward<TagsT>(value));
145 template <
typename TagsT = Tag>
147 m_tagsHasBeenSet =
true;
148 m_tags.emplace_back(std::forward<TagsT>(value));
161 m_autoConfigEnabledHasBeenSet =
true;
162 m_autoConfigEnabled = value;
178 m_autoCreateHasBeenSet =
true;
179 m_autoCreate = value;
196 m_groupingTypeHasBeenSet =
true;
197 m_groupingType = value;
213 m_attachMissingPermissionHasBeenSet =
true;
214 m_attachMissingPermission = value;
224 bool m_opsCenterEnabled{
false};
226 bool m_cWEMonitorEnabled{
false};
234 bool m_autoConfigEnabled{
false};
236 bool m_autoCreate{
false};
240 bool m_attachMissingPermission{
false};
241 bool m_resourceGroupNameHasBeenSet =
false;
242 bool m_opsCenterEnabledHasBeenSet =
false;
243 bool m_cWEMonitorEnabledHasBeenSet =
false;
244 bool m_opsItemSNSTopicArnHasBeenSet =
false;
245 bool m_sNSNotificationArnHasBeenSet =
false;
246 bool m_tagsHasBeenSet =
false;
247 bool m_autoConfigEnabledHasBeenSet =
false;
248 bool m_autoCreateHasBeenSet =
false;
249 bool m_groupingTypeHasBeenSet =
false;
250 bool m_attachMissingPermissionHasBeenSet =
false;
GroupingType GetGroupingType() const
void SetSNSNotificationArn(SNSNotificationArnT &&value)
bool GetCWEMonitorEnabled() const
bool AttachMissingPermissionHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
void SetCWEMonitorEnabled(bool value)
virtual const char * GetServiceRequestName() const override
void SetAutoConfigEnabled(bool value)
bool TagsHasBeenSet() const
bool CWEMonitorEnabledHasBeenSet() const
CreateApplicationRequest & WithAutoCreate(bool value)
bool AutoConfigEnabledHasBeenSet() const
bool OpsItemSNSTopicArnHasBeenSet() const
const Aws::String & GetResourceGroupName() const
void SetResourceGroupName(ResourceGroupNameT &&value)
const Aws::String & GetSNSNotificationArn() const
bool GetOpsCenterEnabled() const
CreateApplicationRequest & WithResourceGroupName(ResourceGroupNameT &&value)
AWS_APPLICATIONINSIGHTS_API CreateApplicationRequest()=default
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAutoCreate(bool value)
bool ResourceGroupNameHasBeenSet() const
bool OpsCenterEnabledHasBeenSet() const
CreateApplicationRequest & WithOpsCenterEnabled(bool value)
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
CreateApplicationRequest & WithSNSNotificationArn(SNSNotificationArnT &&value)
bool SNSNotificationArnHasBeenSet() const
void SetOpsItemSNSTopicArn(OpsItemSNSTopicArnT &&value)
bool AutoCreateHasBeenSet() const
bool GetAutoCreate() const
CreateApplicationRequest & WithOpsItemSNSTopicArn(OpsItemSNSTopicArnT &&value)
CreateApplicationRequest & WithGroupingType(GroupingType value)
CreateApplicationRequest & AddTags(TagsT &&value)
CreateApplicationRequest & WithAttachMissingPermission(bool value)
void SetGroupingType(GroupingType value)
const Aws::String & GetOpsItemSNSTopicArn() const
bool GetAutoConfigEnabled() const
CreateApplicationRequest & WithTags(TagsT &&value)
void SetAttachMissingPermission(bool value)
CreateApplicationRequest & WithAutoConfigEnabled(bool value)
void SetOpsCenterEnabled(bool value)
bool GetAttachMissingPermission() const
CreateApplicationRequest & WithCWEMonitorEnabled(bool value)
bool GroupingTypeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector