7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devops-guru/model/StartTimeRange.h>
11#include <aws/devops-guru/model/SearchOrganizationInsightsFilters.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/devops-guru/model/InsightType.h>
45 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
46 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
47 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
49 template<
typename AccountIdsT = Aws::String>
57 template<
typename StartTimeRangeT = StartTimeRange>
58 void SetStartTimeRange(StartTimeRangeT&& value) { m_startTimeRangeHasBeenSet =
true; m_startTimeRange = std::forward<StartTimeRangeT>(value); }
59 template<
typename StartTimeRangeT = StartTimeRange>
70 template<
typename FiltersT = SearchOrganizationInsightsFilters>
71 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
72 template<
typename FiltersT = SearchOrganizationInsightsFilters>
84 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
95 template<
typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
97 template<
typename NextTokenT = Aws::String>
114 bool m_accountIdsHasBeenSet =
false;
117 bool m_startTimeRangeHasBeenSet =
false;
120 bool m_filtersHasBeenSet =
false;
123 bool m_maxResultsHasBeenSet =
false;
126 bool m_nextTokenHasBeenSet =
false;
129 bool m_typeHasBeenSet =
false;
const StartTimeRange & GetStartTimeRange() const
const SearchOrganizationInsightsFilters & GetFilters() const
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
SearchOrganizationInsightsRequest & WithFilters(FiltersT &&value)
bool AccountIdsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
SearchOrganizationInsightsRequest & AddAccountIds(AccountIdsT &&value)
bool MaxResultsHasBeenSet() const
bool StartTimeRangeHasBeenSet() const
void SetFilters(FiltersT &&value)
bool FiltersHasBeenSet() const
SearchOrganizationInsightsRequest & WithNextToken(NextTokenT &&value)
void SetType(InsightType value)
SearchOrganizationInsightsRequest & WithType(InsightType value)
void SetNextToken(NextTokenT &&value)
int GetMaxResults() const
void SetAccountIds(AccountIdsT &&value)
InsightType GetType() const
const Aws::Vector< Aws::String > & GetAccountIds() const
const Aws::String & GetNextToken() const
SearchOrganizationInsightsRequest & WithStartTimeRange(StartTimeRangeT &&value)
void SetStartTimeRange(StartTimeRangeT &&value)
bool TypeHasBeenSet() const
SearchOrganizationInsightsRequest & WithMaxResults(int value)
bool NextTokenHasBeenSet() const
SearchOrganizationInsightsRequest & WithAccountIds(AccountIdsT &&value)
AWS_DEVOPSGURU_API SearchOrganizationInsightsRequest()=default
void SetMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector