7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-guru/DevOpsGuruRequest.h>
10#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
11#include <aws/devops-guru/model/InsightType.h>
12#include <aws/devops-guru/model/SearchOrganizationInsightsFilters.h>
13#include <aws/devops-guru/model/StartTimeRange.h>
41 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
43 m_accountIdsHasBeenSet =
true;
44 m_accountIds = std::forward<AccountIdsT>(value);
46 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
51 template <
typename AccountIdsT = Aws::String>
53 m_accountIdsHasBeenSet =
true;
54 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
63 template <
typename StartTimeRangeT = StartTimeRange>
65 m_startTimeRangeHasBeenSet =
true;
66 m_startTimeRange = std::forward<StartTimeRangeT>(value);
68 template <
typename StartTimeRangeT = StartTimeRange>
82 template <
typename FiltersT = SearchOrganizationInsightsFilters>
84 m_filtersHasBeenSet =
true;
85 m_filters = std::forward<FiltersT>(value);
87 template <
typename FiltersT = SearchOrganizationInsightsFilters>
103 m_maxResultsHasBeenSet =
true;
104 m_maxResults = value;
119 template <
typename NextTokenT = Aws::String>
121 m_nextTokenHasBeenSet =
true;
122 m_nextToken = std::forward<NextTokenT>(value);
124 template <
typename NextTokenT = Aws::String>
139 m_typeHasBeenSet =
true;
159 bool m_accountIdsHasBeenSet =
false;
160 bool m_startTimeRangeHasBeenSet =
false;
161 bool m_filtersHasBeenSet =
false;
162 bool m_maxResultsHasBeenSet =
false;
163 bool m_nextTokenHasBeenSet =
false;
164 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