7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/appmesh/model/Duration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/appmesh/model/TcpRetryPolicyEvent.h>
76 inline void SetMaxRetries(
long long value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
110 bool m_httpRetryEventsHasBeenSet =
false;
112 long long m_maxRetries;
113 bool m_maxRetriesHasBeenSet =
false;
116 bool m_perRetryTimeoutHasBeenSet =
false;
119 bool m_tcpRetryEventsHasBeenSet =
false;
bool HttpRetryEventsHasBeenSet() const
const Aws::Vector< Aws::String > & GetHttpRetryEvents() const
HttpRetryPolicy & AddHttpRetryEvents(const Aws::String &value)
AWS_APPMESH_API HttpRetryPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetPerRetryTimeout(const Duration &value)
AWS_APPMESH_API HttpRetryPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMaxRetries(long long value)
HttpRetryPolicy & AddTcpRetryEvents(const TcpRetryPolicyEvent &value)
HttpRetryPolicy & WithHttpRetryEvents(const Aws::Vector< Aws::String > &value)
HttpRetryPolicy & WithPerRetryTimeout(Duration &&value)
void SetHttpRetryEvents(const Aws::Vector< Aws::String > &value)
void SetTcpRetryEvents(const Aws::Vector< TcpRetryPolicyEvent > &value)
HttpRetryPolicy & AddTcpRetryEvents(TcpRetryPolicyEvent &&value)
bool PerRetryTimeoutHasBeenSet() const
HttpRetryPolicy & AddHttpRetryEvents(const char *value)
HttpRetryPolicy & WithMaxRetries(long long value)
HttpRetryPolicy & WithPerRetryTimeout(const Duration &value)
HttpRetryPolicy & WithHttpRetryEvents(Aws::Vector< Aws::String > &&value)
void SetTcpRetryEvents(Aws::Vector< TcpRetryPolicyEvent > &&value)
const Duration & GetPerRetryTimeout() const
void SetHttpRetryEvents(Aws::Vector< Aws::String > &&value)
const Aws::Vector< TcpRetryPolicyEvent > & GetTcpRetryEvents() const
long long GetMaxRetries() const
HttpRetryPolicy & WithTcpRetryEvents(const Aws::Vector< TcpRetryPolicyEvent > &value)
void SetPerRetryTimeout(Duration &&value)
bool MaxRetriesHasBeenSet() const
bool TcpRetryEventsHasBeenSet() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
HttpRetryPolicy & WithTcpRetryEvents(Aws::Vector< TcpRetryPolicyEvent > &&value)
HttpRetryPolicy & AddHttpRetryEvents(Aws::String &&value)
AWS_APPMESH_API HttpRetryPolicy()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue